- How to prevent USB surprise removal dialog box on Windows ME/2000?
- Posted by Jackal Huang on November 18th, 2003
I would write a program to trigger the usb device to replug in.
However, USB surprise removal dialog box always pops up.
Is it possible to prevent this dialog box from the user mode program?
Best Regards
Jackal Huang
- Posted by Maxim S. Shatskih on November 18th, 2003
You cannot. This means that the nature of the device is such so it does not
handles surprise removal in a good way.
You have simulated re-plug - and got what you wanted, the real re-plug
would do the same message box.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Jackal Huang" <huangjj@hotmail.com> wrote in message
news:#$h$HuarDHA.3732@tk2msftngp13.phx.gbl...
- Posted by Eliyas Yakub [MSFT] on November 18th, 2003
No, not possible from usermode.
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
"Jackal Huang" <huangjj@hotmail.com> wrote in message
news:%23$h$HuarDHA.3732@tk2msftngp13.phx.gbl...