IOCTL_CDROM_GET_INQUIRY_DATA control code

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.

Input Parameters

Parameters.DeviceIoControl.OutputBufferLength indicates the number of bytes that can be written to Irp->AssociatedIrp.SystemBuffer, which must be >= sizeof(INQUIRYDATA).

Output Parameters

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.

I/O Status Block

The Information field contains the number of bytes returned in the output buffer. The Status field indicates the results of the operation.

Requirements

Header

Ntddcdrm.h (include Ntddcdrm.h)

See also

IOCTL_CDROM_EXCLUSIVE_ACCESS
INQUIRYDATA

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft