IOCTL_CDROM_GET_INQUIRY_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddcdrm-ioctl_cdrom_get_inquiry_data)

IOCTL_CDROM_GET_INQUIRY_DATA IOCTL

Description

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.

Parameters

Major code

Input buffer

None.

Input buffer length

None.

Output buffer

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.

Output buffer length

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

Input/output buffer

Input/output buffer length

Status block

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

Remarks

See also

INQUIRYDATA

IOCTL_CDROM_EXCLUSIVE_ACCESS