About Cd-rom?
-
How could i judge the Cd-rom door's status?(open or closed). Pay attention to that here is Cd-rom not DVD-rom, I used the SCSI command "Mechanism Status" to get the dvd-rom door's status successfully, but it can't work on Cd-rom, so what should i do to fix this trouble?:) Go go go, roger that. Enemy sighted!
-
How could i judge the Cd-rom door's status?(open or closed). Pay attention to that here is Cd-rom not DVD-rom, I used the SCSI command "Mechanism Status" to get the dvd-rom door's status successfully, but it can't work on Cd-rom, so what should i do to fix this trouble?:) Go go go, roger that. Enemy sighted!
U look into DeviceIoControl() with IOCTL_STORAGE_EJECT_MEDIA as a second parameter. Jubin Chawda braindrain1@rediffmail.com ----------------------------- Come online at:- fitiyal@yahoo.com
-
How could i judge the Cd-rom door's status?(open or closed). Pay attention to that here is Cd-rom not DVD-rom, I used the SCSI command "Mechanism Status" to get the dvd-rom door's status successfully, but it can't work on Cd-rom, so what should i do to fix this trouble?:) Go go go, roger that. Enemy sighted!
-
Thanks you all for your helpful infos, but all seems not work fine. Is there a command of SCSI just as same as "mechanism status" command which can work on DVD-ROM? Or some other helpful infos?:^)
-
Thanks you all for your helpful infos, but all seems not work fine. Is there a command of SCSI just as same as "mechanism status" command which can work on DVD-ROM? Or some other helpful infos?:^)
-
Thanks for your help, whitesky! But I wonder if you really understand what I want to realize! I just want to know the status of CD-ROM, it is opened or closed? The MCI command can't work at all, I tried it before, and WM_DEVICECHANGE message also can't work. And I tried MMC command(APSI programming),but it can only work on DVD-ROM, do not work on CD-ROM! That's my trouble. My original purpose is that if you right click the CD/DVD-ROM icon, the eject menuitem can take a little change for it can change to "Insert" if the door is already opened, and back to "eject" if the door is closed. For this, I must know the status of the door, it is closed or open? One day a pretty girl asked me: "Do you think you are handsome?"."I don't think so!" She gave a slap in my face:"Why lying?"