Important: The information in this document is obsolete and should not be used for new development.
Command Descriptor Block Record
You use the command descriptor block record to pass SCSI commands to theSCSIAction
function. The SCSI commands can be stored within this structure, or you can provide a pointer to them. You set thescsiCDBIsPointer
flag in the SCSI parameter block if this record contains a pointer.The command descriptor block record is defined by the CDB data type.
union CDB { UInt8 *cdbPtr; UInt8 cdbBytes[maxCDBLength]; }; typedef union CDB CDB, *CDBPtr;
Field Description
cdbPtr
- A pointer to a buffer containing a CDB.
cdbBytes
- A buffer in which you can place a CDB.