阅读:888回复:2
它在什么时间运行。。。(我是被初学者)
::AddDevice函数是在什么条件下运行呢?
我查看了英文:大概意思是说,当系统检查到该USB设备时,就会调用该函数。是不是这个意思呢? 我用ds向导生成的例子中也没有查出是谁在调用该函数。它反回的状态又由谁来使用呢? |
|
沙发#
发布于:2003-07-20 16:00
怎么可能呢?
你到NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath ) 里面找找看。 |
|
板凳#
发布于:2003-07-21 16:51
英文如下:
The framework calls this member function when the Plug and Play subsystem detects a device for which the driver is responsible. |
|