SRBEX_DATA_SCSI_CDB16 structure (storport.h)

The SRBEX_DATA_SCSI_CDB16 structure contains the extended SRB data for a 16-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_CDB16 {
  SRBEXDATATYPE       Type;
  ULONG               Length;
  UCHAR               ScsiStatus;
  UCHAR               SenseInfoBufferLength;
  UCHAR               CdbLength;
  UCHAR               Reserved;
  ULONG               Reserved1;
  PVOID POINTER_ALIGN SenseInfoBuffer;
  UCHAR POINTER_ALIGN Cdb[16];
} SRBEX_DATA_SCSI_CDB16, *PSRBEX_DATA_SCSI_CDB16;

Members

Type

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

Length

Length of the data in this structure, in bytes, starting with the ScsiStatus member. Set to SRBEX_DATA_SCSI_CDB16_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[16]

The 16-byte CDB buffer.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h (include Storport.h, Srb.h, Minitape.h)

See also

SRBEX_DATA_SCSI_CDB32

STORAGE_REQUEST_BLOCK