SRBEX_DATA_SCSI_CDB32 structure (srb.h)

The SRBEX_DATA_SCSI_CDB32 structure contains the extended SRB data for a 32-byte SCSI command data block (CDB).

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
 

Syntax

typedef struct _SRBEX_DATA_SCSI_CDB32 {
  SRBEXDATATYPE       Type;
  ULONG               Length;
  UCHAR               ScsiStatus;
  UCHAR               SenseInfoBufferLength;
  UCHAR               CdbLength;
  UCHAR               Reserved;
  ULONG               Reserved1;
  PVOID POINTER_ALIGN SenseInfoBuffer;
  UCHAR POINTER_ALIGN Cdb[32];
} SRBEX_DATA_SCSI_CDB32, *PSRBEX_DATA_SCSI_CDB32;

Members

Type

Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeScsiCdb32.

Length

Length of the data in this structure starting with the ScsiStatus member. Set to SRBEX_DATA_SCSI_CDB32_LENGTH.

ScsiStatus

The SCSI status code returned for the submitted SRB.

SenseInfoBufferLength

The length of the sense information returned in the buffer pointed to by SenseInfoBuffer.

CdbLength

The length of the CDB data, in bytes, of the Cdb array.

Reserved

This member is reserved. Set to 0.

Reserved1

This member is reserved. Set to 0.

SenseInfoBuffer

A pointer to a buffer containing any returned sense information.

Cdb[32]

The 32-byte CDB buffer.

Remarks

This structure is used to submit an extended SRB data for a CDB of 32 bytes or less.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Header srb.h (include Storport.h, Srb.h, Minitape.h)

See also

SRBEX_DATA_SCSI_CDB16

STORAGE_REQUEST_BLOCK