surprise remove tool for testing

If I remember correctly, there used to be a pnpdtool.exe in DDK tools folder, no more.
Looked at Devcon source for disable command, it was not obvious to me if I could modify it
to surprise remove a device.

Any suggestions for a minimal tool to surprise remove a device?

thanks,

look at the set of Device Fundamentals (devfund) tests in the HCK. the only way you can force a physical surprise remove is to filter the parent and report the child missing without the parent knowing. you can force a software surprise remove by failing pnp state by filtering the device itself.

d


From: xxxxx@lists.osr.com on behalf of xxxxx@yahoo.com
Sent: Monday, September 8, 2014 1:31 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] surprise remove tool for testing

If I remember correctly, there used to be a pnpdtool.exe in DDK tools folder, no more.
Looked at Devcon source for disable command, it was not obvious to me if I could modify it
to surprise remove a device.

Any suggestions for a minimal tool to surprise remove a device?

thanks,

—
NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

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