Win 7 ATAPI IOCTL_SCSI_EXECUTE gets device not ready

We have a device driver (which works under XP), which (after successfully retrieving device capabilities, when the device was created) sends a IOCTL_SCSI_EXECUTE_IN (Mode Sense) to a CDROM and persistently gets a “Device not ready” response (in the sense code).

Any idea why?

Ruediger

>capabilities, when the device was created) sends a IOCTL_SCSI_EXECUTE_IN (Mode Sense)

Send IOCTL_SCSI_PASS_THROUGH instead.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com