// ntddcdrm.h
// CTL_CODE(0x0002, 0x019, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_CDROM_GET_INQUIRY_DATA 0x00024064
View the official Windows Driver Kit DDI referenceNo description available.
Returns the SCSI inquiry data for the CD-ROM device. This IOCTL can be used when a device has been exclusively locked with IOCTL_CDROM_EXCLUSIVE_ACCESS.
None.
None.
The buffer at Irp->AssociatedIrp.SystemBuffer contains the returned inquiry data. For a description of the layout of the inquiry data in the output buffer, see INQUIRYDATA.
Parameters.DeviceIoControl.OutputBufferLength indicates the number of bytes that can be written to Irp->AssociatedIrp.SystemBuffer, which must be >= sizeof(INQUIRYDATA).
The Information field contains the number of bytes returned in the output buffer. The Status field indicates the results of the operation.