Microsoft Windows CE 3.0  

Removing USB Device Drivers

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

During the USB device driver attach processingoperation, the device driver may register a callback function. When a user detaches a peripheral from the bus, the USBD module calls the callback function.

The callback function also has the option of calling other functions in the USB device driver, such as USBUnInstallDriver. USBUnInstallDriverremoves all registry keys that were created by the driver's USBInstallDriverfunction and releases any other resources that are held by the driver. In this way, a user can remove any old registry settings for a particular device when a new or updated driver for that device is available. Note that the USBD module never calls USBUnInstallDriverdirectly.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.