阅读:1215回复:4
如何将一个Windows Driver Port到WDM?
能够介绍一下否?
|
|
|
沙发#
发布于:2002-02-28 13:26
不明白你的意思
|
|
|
板凳#
发布于:2002-02-28 23:55
I think he was asking to port a NT kernel mode driver into WDM. if so:
1. move the part of code that create the device object into your AddDevice routine. 2. remove the part of code that find the device and resource, which will be provided in your PnP routine by IRP_MN_START_DEVICE. 3. Handle PnP and power correctly. BTW: Indeed, any KMD driver can run well under Windows 2K/XP as a legacy driver. Of course if your driver is hardware related, turn to WDM. |
|
|
地板#
发布于:2002-03-01 09:16
Thanks,kanghai.I see.
|
|
|
地下室#
发布于:2002-03-01 09:32
站上有文章,参考一下
http://www.driverdevelop.com/read.php?t=A&id=57 |
|
|