By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,537 Members | 1,750 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,537 IT Pros & Developers. It's quick & easy.

Safely remove usb device W2k?

P: n/a
I am trying to write a program that will allow me to unplug a USB mass storage device from a Windows 2000 box without getting the "Unsafe Removal of Device" warning

I tried the following program (as is);en-us;16572

The output says "Media in Drive H can be safely removed.
But I still get the warning dialoge when I unplug the device

Is FSCTL_DISMOUNT_VOLUME the wrong command to use for this problem

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.