Driver unload

I am writing the Usb Driver, my driver is getting failed when the device is disconnected from the PC.
Please guide me to follow the steps for handle the driver unload.

Did you register an unload function in your driver?

Gary G. Little

----- Original Message -----
From: “drv dev”
To: “Windows System Software Devs Interest List”
Sent: Tuesday, December 28, 2010 5:03:52 AM
Subject: [ntdev] Driver unload

I am writing the Usb Driver, my driver is getting failed when the device is disconnected from the PC.
Please guide me to follow the steps for handle the driver unload.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer