Windows中的设备驱动程序开发 [英] Device Driver Development in Windows

查看:92
本文介绍了Windows中的设备驱动程序开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是学习开发Windows的设备驱动程序。框架的选择留给我。这个主题是否有任何好书?我在网上搜索过这个并找到了很多页面,我希望能得到专家的建议。

谢谢。

解决方案

就我而言,我开始使用Walter Oney的编程Microsoft Windows驱动程序模型进行驱动程序编程。 Windows DDK / WDK文档也很有帮助。


为Windows编写设备驱动程序的最新框架是Windows Driver Foundation(WDF)。

Microsoft建议您使用WDF。它是Windows驱动程序模型(WDM)的包装器,可大大简化驱动程序开发。除非您想要覆盖默认行为,否则框架会处理许多困难的任务,如电源管理和即插即用,这些任务对于所有驱动程序都是必需的。这就是MFC对Win32来说。



你需要得到这本书 - [ ^ ]


编写Windows VxD和设备驱动程序,第二版(平装本)作者:Karen Hazzah

http://www.tower.com/writing-windows-vxds-device-drivers-karen-hazzah-paperback / wapi / 109010721 [ ^ ]



开发Windows NT设备驱动程序:Edward N. Dekker撰写的程序员手册& Joseph M. Newcomer

http://www.amazon.com/exec/ obidos / ASIN / 0201695901 / eclecticengineer [ ^ ]



Windows编程/ DDK:

http://en.wikibooks.org/wiki/Windows_Programming/Obtaining_the_DDK [ ^ ]

http:// www.tenouk.com/windowsddk/windowsdriverdevelopmentkit2.html [ ^ ]





PS Microsoft Windows驱动程序工具包v7.1.0:

http://softarchive.net/blogs/ hat / microsoft_windows_driver_kit_v_spyral.211138.html [ ^

My aim is to learn developing device drivers for windows. Choice of framework(s) is left to me. Are/Is there any good books on this topic? I have searched on web about this and did find many pages, I am hoping to get an expert advice.
Thank you.

解决方案

In my case, I started driver programming with "Programming the Microsoft Windows Driver Model" by Walter Oney. Windows DDK/WDK documents are also helpful.


The latest framework for writing device drivers for Windows is the Windows Driver Foundation (WDF).
Microsoft recommends you use WDF. It is a wrapper around the Windows Driver Model (WDM) and eases driver development drastically. Many difficult tasks like power management and plug and play which are mandatory for all drivers are taken care of by the framework unless you want to override the default behavior. It is what MFC is to Win32.

You need to get this book -
Developing Drivers with the Windows® Driver Foundation[^]


Writing Windows VxDs and Device Drivers, Second Edition (Paperback) by Karen Hazzah
http://www.tower.com/writing-windows-vxds-device-drivers-karen-hazzah-paperback/wapi/109010721[^]

Developing Windows NT Device Drivers: A Programmer's Handbook by Edward N. Dekker & Joseph M. Newcomer
http://www.amazon.com/exec/obidos/ASIN/0201695901/eclecticengineer[^]

Windows Programming/The DDK:
http://en.wikibooks.org/wiki/Windows_Programming/Obtaining_the_DDK[^]
http://www.tenouk.com/windowsddk/windowsdriverdevelopmentkit2.html[^]


P.S. Microsoft Windows Driver Kit v7.1.0 :
http://softarchive.net/blogs/hat/microsoft_windows_driver_kit_v_spyral.211138.html[^]


这篇关于Windows中的设备驱动程序开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆