Tech Support > Microsoft Windows > Drivers > How to remove a composite device ?
How to remove a composite device ?
Posted by Jackal Huang on December 28th, 2004


I would write a program to remove a usb composite device.
I can use setupdi function to enumerate and remove device.
The usb composite device has child device for each interface.
What's the correct procedure to remove a device which has child device?
Enumerate and remove child device first and then remove parent device ?
or remove the parent device, it will automatically remove all child devices?

Best Regards

Jackal Huang


Posted by Eliyas Yakub [MSFT] on December 28th, 2004


Remove (uninstall) child devices first and then remove the parent. System
wouldn't do that for you automatically, AFAIK.

--
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/driver/default.mspx
http://www.microsoft.com/whdc/driver/kernel/KB-drv.mspx



Similar Posts