CD eject notification in Windows
My program needs to know when a user ejects cd disc. Is there some sort of notification for this in Windows? ...
My program needs to know when a user ejects cd disc. Is there some sort of notification for this in Windows? ...
Is there any way to do so? I know its possible to programmatically eject/retract the cd drive SOMEHOW, cause Roxio does that when it prompts me to insert a disk. Either c# or vb.net is preferable, but c and c++ are okay too as a last resort. I am nearly positive there is some way to do this, I just don't know the methods to call. I do...
Using Windows' WMI library, how can I eject CD rom mounted in a specific CD/DVD drive? I am asking for sources from WMI docs or examples since I am using wmi.py library on Python. It would be great if solution satisfies Windows computer newer than Windows 2000 and having multi CD-ROMs. (i.e. I have D: F: drives and both are CD-ROM dri...
Do you know what is the API, or sequence of API calls that windows uses to accomplish the "Eject" function which is available on the shell context menu for removable volumes? So far I've tried two things: using CM_Request_Device_Eject, I enumerate the removable disks (using the SetupDiXXX APIs), find the one that I'm interested in, w...
I have a custom developed USB card reader. I am using the following code to interact and iterrate over the device: http://www.codeproject.com/KB/system/usbeject.aspx The code above provides an 'eject' method using the following line: Native.CM_Request_Device_Eject_NoUi(device.InstanceHandle, IntPtr.Zero, null, 0, 0); However this 'e...