--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
<cart...@gmail.com> wrote in message
news:1169921417....@m58g2000cwm.googlegroups.com...
Don,
It looks like the WDK is not a free download, am I correct? If not,
any thoughts on where to go find it? This is the link I found:
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
<cart...@gmail.com> wrote in message
news:1169923086....@m58g2000cwm.googlegroups.com...
I've shown this in user mode in a sample project:
http://www.codeproject.com/system/RemoveDriveByLetter.asp
The page needs an update because of some new findings.
CM_Query_And_Remove_SubTree requires admin previleges, while
CM_Request_Device_Eject does not. Today I've seen that Vista
redetected an USB hard disk immediately after using
CM_Query_And_Remove_SubTree successfully. It did not happen
with CM_Request_Device_Eject.
If you want XP show the "it's save now" balloon, then use
NULL/0 for the veto params. An additional effect is, that
XP doesn't play the removal sound then when the device is
unplugged. Quite strange...
Greetings from Germany
Uwe
"Don Burn" <bu...@stopspam.windrvr.com> wrote in message
news:OCPB8MkQ...@TK2MSFTNGP05.phx.gbl...
With the flag CM_REMOVE_NO_RESTART the redetection does not happen.
Uwe
An interesting finding.
Doron Holan (MS) explained that in Vista, behavior of PnP is more
"agressive" so that it immediately redetects removed devices and this
results in immediate installation of the best ranked driver found.
If this flag gets the old behavior, can Device Manager use it ?
Too late to vote for this feature for Vista SP1?
--PA