Is there an API that let me no that the CD-Rom door has just been open.
Printable View
Is there an API that let me no that the CD-Rom door has just been open.
Have a look at VBVision site:
http://www.mvps.org/vbvision/Sample_Projects.htm
There is a project that shows how you can subclass the WM_DEVICECHANGE message to receive notifications when a CD is inserted or removed from a drive on the system.
(CD Monitor Demo)