01-20-2005, 07:44 PM
Anyone know of a command/Win API Function to eject a CDRom drive. Thanks.
Matt
Matt
Ejecting a CDRom Drive
|
01-20-2005, 07:44 PM
Anyone know of a command/Win API Function to eject a CDRom drive. Thanks.
Matt
01-20-2005, 09:03 PM
Function CD_OpenCloseDrive
;/
01-21-2005, 02:02 AM
That worked flawlessly even on a Virtual-CD drive. How do you find the time to write this stuff. Thank you very much.
Matt B
01-21-2005, 01:05 PM
Matt,
How does it look on a virtual cd?
01-21-2005, 07:39 PM
Looking in Win Explorer the disk icon changes from what disk is in at the time to the normal empty disk icon. I'm using it to put all my kids CD games onto the HD. I'm building a front end using QM for easy selection.
01-23-2006, 03:07 AM
Can this code be moded to eject a USB flash drive. This is most annoying in windows
01-23-2006, 05:29 AM
As long as the USB flash drive (UFD) isn't being written to, you don't have to eject it. Go to Control Panel,System,Hardware tab, Device Manager button, expand Drives, right click UFD in question, select properties, Policies tab and make sure "Optimized for quick removal" is selected. Then you should be safe to pull it out unless you're saving something to it.
Matt B
|
« Next Oldest | Next Newest »
|