// srb.h
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;
View the official Windows Driver Kit DDI reference// storport.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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.
TypeData type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeScsiCdb32.
LengthLength of the data in this structure starting with the ScsiStatus member. Set to SRBEX_DATA_SCSI_CDB32_LENGTH.
ScsiStatusThe SCSI status code returned for the submitted SRB.
SenseInfoBufferLengthThe length of the sense information returned in the buffer pointed to by SenseInfoBuffer.
CdbLengthThe length of the CDB data, in bytes, of the Cdb array.
ReservedThis member is reserved. Set to 0.
Reserved1This member is reserved. Set to 0.
SenseInfoBufferA pointer to a buffer containing any returned sense information.
CdbThe 32-byte CDB buffer.
This structure is used to submit an extended SRB data for a CDB of 32 bytes or less.
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.
TypeData type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeScsiCdb32.
LengthLength of the data in this structure starting with the ScsiStatus member. Set to SRBEX_DATA_SCSI_CDB32_LENGTH.
ScsiStatusThe SCSI status code returned for the submitted SRB.
SenseInfoBufferLengthThe length of the sense information returned in the buffer pointed to by SenseInfoBuffer.
CdbLengthThe length of the CDB data, in bytes, of the Cdb array.
ReservedThis member is reserved. Set to 0.
Reserved1This member is reserved. Set to 0.
SenseInfoBufferA pointer to a buffer containing any returned sense information.
CdbThe 32-byte CDB buffer.
This structure is used to submit an extended SRB data for a CDB of 32 bytes or less.