|
-
December 17th, 2004, 11:35 AM
#3
Re: Stopping a "usb mass storage device"
No guarantees, but I would expect this to go through a call to the DeviceIoControl() function.
Most likely, the IOCTL_STORAGE_EJECT_MEDIA or IOCTL_STORAGE_MEDIA_REMOVAL is the IO control code you need.
There is an article on MSDN on how to programmatically eject media. PSS ID 165721
http://support.microsoft.com/default...b;en-us;165721
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
|