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

返回顶部