Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RegisterDeviceNotification and device driver initialization.

13 views
Skip to first unread message

samsock

unread,
Apr 10, 2013, 7:52:36 AM4/10/13
to
Hi ,

we are having a problem detecting our custom usb devices with RegisterDeviceNotification.

The problem seems to be that the notification WM_DEVICECHANGE reaches the application before the device driver has properly loaded. And this does not happen everytime , 70% of the times devices are successfully opened after receiving the notification. but otherwise they fail with "device not found" type messages.

So we want to know , does the WM_DEVICECHANGE message is sent after the complete and proper loading/initilization of the driver has taken place?

Thanks
0 new messages