Issues a READ_DISC_STRUCTURE command to the device as defined in MMC-5.
- macOS 10.1+
- Mac Catalyst 13.0+Beta
Pointer to an MMCDeviceInterface for one IOService.
The MEDIA_TYPE field as defined in MMC-5.
The ADDRESS field as defined in MMC-5.
The LAYER_NUMBER field as defined in MMC-5.
The FORMAT field as defined in MMC-5.
Pointer to the buffer to be used for this function.
The size of the data transfer requested.
Pointer to a SCSITaskStatus to get the status of the SCSITask which was executed. Valid SCSITaskStatus values are defined in SCSITask.h
Pointer to a buffer the size of the SCSI_Sense_Data struct found in SCSICmds_REQUEST_SENSE_Defs.h. The sense data is only valid if the SCSITaskStatus is kSCSITaskStatus_CHECK_CONDITION.
Returns kIOReturnSuccess if successful, kIOReturnNoDevice if there is no connection to an IOService, kIOReturnNoMemory if a SCSITask couldn't be created, or kIOReturnExclusiveAccess if the device is already opened for exclusive access by another client.
Once an MMCDeviceInterface is opened the client may send this command to read information about Disc specific structures on the disc.