IOCTL_CDROM_GET_INQUIRY_DATA IOCTL (ntddcdrm.h)
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.
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).
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
Requirement | Value |
---|---|
Header | ntddcdrm.h (include Ntddcdrm.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for