阅读:1161回复:3
关于DriverEntry的创建一个PDEVICE_OBJECT设备对象的问题。
我的意思是先在DriverEntry创建一个设备对象,但该设备对象并不和下面的物理设备挂钩,然后再到AddDevice中创建另外的设备对象。
请问在DriverEntry创建的这个设备对象可以用来起什么作用. |
|
|
沙发#
发布于:2003-02-09 08:35
用户被禁言,该主题自动屏蔽! |
|
板凳#
发布于:2003-02-11 19:02
Create a controling device object. All control commands to the filter driver come via IOCTL\'s to this device object. It lives for the lifetime of the filter driver.
|
|
|
地板#
发布于:2003-02-12 10:27
我看的这个驱动程序创建了三个对象:
1.在DRERENTRY里面创建一个全局的DeviceObject 2.在AddDevice里面创建一个功能设备 3.在pnp的StartDevice情况下又创建了一个 |
|
|