SRBEX_DATA_SCSI_CDB32 structure

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

Syntax


typedef struct _SRBEX_DATA_SCSI_CDB32 {
  SRBEXDATATYPE       Type;
  ULONG               Length;
  UCHAR               ScsiStatus;
  UCHAR               SenseInfoBufferLength;
  ULONG               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

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

Version

Available starting with Windows 8.

Header

Storport.h (include Storport.h or Srb.h)

See also

SRBEX_DATA_SCSI_CDB16
STORAGE_REQUEST_BLOCK

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft