Re: [ntdev] Stop/unload Pnp driver

An alternative might be to fail all IO until you get the ‘enable’ IOCTL on your control device

Sent from Surface Pro

From: Doron Holan
Sent: ‎Thursday‎, ‎August‎ ‎21‎, ‎2014 ‎10‎:‎09‎ ‎AM
To: Windows System Software Devs Interest List

That window is very small since the only way your driver can load as a pnp driver is when the pnp device shows up. That means driverentry will be immediately followed by AddDevice, I doubt your app can even hit that window in between. And how will it know when the symlink is available?

d

Bent from my phone

From: xxxxx@yahoo.com
Sent: ‎8/‎21/‎2014 7:03 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Stop/unload Pnp driver

Hi Doron,
Thank you for reply. But what if I want to send IOCTL to my driver before any device has added, what is the approach in this case?


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


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