WDM code for removing Child PDOs of USB bus.

Hi Guys,

I need to remove child PDOs of USB bus. So how can remove it?

Thank you all.

On Apr 23, 2019, at 10:57 PM, amul wrote:
>
> I need to remove child PDOs of USB bus. So how can remove it?

Why? The bus driver owns these devices. You can’t force it to cede control of them, and if you did it would just re-enumerate them. Tell us what your REAL goal is.

Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

You need to write a bus filter.

Now, as Mr. Roberts ask, please tell us what you’re trying to accomplish, using more than two sentences.

Peter

Actually i have written usb bus filter driver, which is monitoring USB devices. so i need to prevent attachment as well as detach connected devices(USB device PDO should be deleted). Right now i have done code for prevent USB devices. But i need to know how can i detach connected device.