Command Descriptor Block Record
You use the command descriptor block record to pass SCSI commands to theSCSIActionfunction. The SCSI commands can be stored within this structure, or you can provide a pointer to them. You set thescsiCDBIsPointerflag 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.