Contents

GetCommandDescriptorBlock

Method to retrieve the SCSI Command Descriptor Block (CDB).

Declaration

bool GetCommandDescriptorBlock ( 
 SCSIParallelTaskIdentifierparallelTask, 
 SCSICommandDescriptorBlock *cdbData );

Parameters

  • parallelTask:

    A valid SCSIParallelTaskIdentifier.

  • cdbData:

    is a SCSICommandDescriptorBlock pointer to 16 byte CDB

Return Value

returns true if data was copied to cdbData pointer

Overview

This will always return a 16 Byte CDB. If the Protocol Layer driver does not support 16 Byte CDBs, it will have to create a local SCSICommandDescriptorBlock variable to get the CDB data and then transfer the needed bytes from there.

See Also

Miscellaneous