-
January 9th, 2007, 02:33 AM
#1
How to eject removable devices programmatically?
Removable devices, such as usb devices, flashmedia card, can only be safely removed by clicking the icon in system tray in WinXP. But how to make it programmatically?
I tried IOCTL_STORAGE_EJECT_MEDIA, FSCTL_DISMOUNT_VOLUME, but only have effect in several special cases.
Any advice be appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|