How to delete PDO created with IoReportDetectedDevice?

Hello,

in my driver, I call IoReportDetectedDevice to let the PnP manager create a root-enumerated PDO.

Once my driver is finished, there is no need for that PDO/devnode any longer and I’d like to delete/remove it.
It should not persist across system boots.

How can I do that?

Thanks.

You can’t delete it. IoReportDetectedDevice is not a substitute for
writing a bus driver or having an application install a root enumerated
device. Once reported, it lives on its own independently of the driver
which reported it.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@hushmail.com
Sent: Friday, July 13, 2007 4:56 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to delete PDO created with IoReportDetectedDevice?

Hello,

in my driver, I call IoReportDetectedDevice to let the PnP manager
create a root-enumerated PDO.

Once my driver is finished, there is no need for that PDO/devnode any
longer and I’d like to delete/remove it.
It should not persist across system boots.

How can I do that?

Thanks.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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