// srb.h
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;
View the official Windows Driver Kit DDI reference
// storport.h
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;
View the official Windows Driver Kit DDI reference
No description available.
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.
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
The 16-byte CDB buffer.
This structure is used to submit an extended SRB data for a CDB of 16 bytes or less.
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.
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
The 16-byte CDB buffer.
This structure is used to submit an extended SRB data for a CDB of 16 bytes or less.