See this

Sujit Patil replied to Pinakin Patel at 05-Jul-08 02:22

Go thr this link;

http://www.codeproject.com/KB/cs/csharpripper.aspx

You can check if theres any thing that can enable or disable the device.

Also There are ways to Open /Eject it by sending some message to the os.

Please refer the links for more details
http://www.codeguru.com/forum/showthread.php?t=387725
http://www.bluechillies.com/screenshot/28078.html
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10251303.html

http://www.codeproject.com/KB/system/Open_Close_CD_DVD_Drawer.aspx

USE;

IOCTL_STORAGE_EJECTION_CONTROL

 

          This control locks the device to prevent removal of the media. If the driver can prevent the media from being removed while the drive is in use, the driver disables or enables the mechanism that ejects media, thereby locking the drive.

 

You can find more details here.

 

IOCTL_STORAGE_EJECTION_CONTROL:

http://msdn.microsoft.com/en-us/library/ms804575.aspx

 

IOCTL_STORAGE_EJECTION_CONTROL Control Code:

http://msdn.microsoft.com/en-us/library/aa363405.aspx

 

Go through this link to find more search results on IOCTL_STORAGE_ EJECTION_ CONTROL which might help you to find a solution.

http://search.msdn.microsoft.com/Default.aspx?query=IOCTL_STORAGE_EJECTION*&brand=msdn&locale=en-us&refinement=

 

Also just go thr these links so that you can get some solution for your problem.

http://www.codeproject.com/KB/miscctrl/imapi2.aspx?fid=1134078&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2559643&fr=51

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10251303.html

http://www.bluechillies.com/screenshot/28078.html

Best Luck!!!!!!!!!!!!!
Sujit.


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  ABOUT CD ROM - Pinakin Patel  05-Jul-08 02:16 2:16:41 AM
      See this - Sujit Patil  05-Jul-08 02:22 2:22:18 AM
      Reply - alice johnson  05-Jul-08 03:12 3:12:33 AM
      Reply - alice johnson  05-Jul-08 03:14 3:14:35 AM
      Re : About CD ROM - Ashutosh Dhok  05-Jul-08 06:53 6:53:20 AM
View Posts