GetCommandDescriptorBlock
Accessor method to retrieve the Command Descriptor Block associated with the specified request.
Declaration
bool GetCommandDescriptorBlock (
SCSITaskIdentifierrequest,
SCSICommandDescriptorBlock *cdbData );Parameters
- request:
A valid SCSITaskIdentifier.
- cdbData:
A pointer to SCSICommandDescriptorBlock to be filled in by this method. NOTE: This routine will always fill in 16 bytes, so if the protocol layer driver supports less than this amount it will have to create a local SCSICommandDescriptorBlock variable to get the CDB data.
Return Value
True on success, otherwise false.
Overview
Accessor method to retrieve the Command Descriptor Block associated with the specified request.
See Also
Miscellaneous
AbortCommandAbortSCSICommandAbortSCSITaskFromQueueAbortTaskAbortTaskSetAddSCSITaskToHeadOfQueueAddSCSITaskToQueueClearACAClearTaskSetCommandCompletedCreateSCSITargetDeviceEnsureAutosenseDescriptorExistsExecuteCommandfreeGetAutosenseRequestedDataTransferCountGetCommandDescriptorBlockSizeGetDataBufferGetDataBufferOffsetGetDataTransferDirectionGetInitialPowerStateGetLogicalUnitBytesGetLogicalUnitNumberGetProtocolLayerReferenceGetRealizedDataTransferCountGetRequestedDataTransferCountGetTaskAttributeGetTaskExecutionModeGetTaskStateGetTimeoutDurationHandleAbortTaskHandleAbortTaskSetHandleCheckPowerStateHandleClearACAHandleClearTaskSetHandleLogicalUnitResetHandlePowerChangeHandlePowerOffHandlePowerOnHandleProtocolServiceFeatureHandleTargetResetinitInitializePowerManagementIsProtocolServiceSupportedLogicalUnitResetProcessCompletedTaskRegisterSCSITaskCompletionRoutineRejectSCSITasksCurrentlyQueuedRejectTaskRetrieveNextSCSITaskFromQueueSendNotification_DeviceRemovedSendNotification_VerifyDeviceStateSendSCSICommandSendSCSITasksFromQueueSetAutoSenseData(SCSITaskIdentifier, SCSI_Sense_Data *)SetAutoSenseData(SCSITaskIdentifier, SCSI_Sense_Data *, UInt8)SetProtocolLayerReferenceSetRealizedDataTransferCountSetTaskExecutionModeSetTaskStatestartTargetResetTicklePowerManager