// srb.h
typedef struct _SRBEX_DATA_BIDIRECTIONAL {
SRBEXDATATYPE Type;
ULONG Length;
ULONG DataInTransferLength;
ULONG Reserved1;
PVOID POINTER_ALIGN DataInBuffer;
} SRBEX_DATA_BIDIRECTIONAL, *PSRBEX_DATA_BIDIRECTIONAL;
View the official Windows Driver Kit DDI reference// storport.h
typedef struct _SRBEX_DATA_BIDIRECTIONAL {
SRBEXDATATYPE Type;
ULONG Length;
ULONG DataInTransferLength;
ULONG Reserved1;
PVOID POINTER_ALIGN DataInBuffer;
} SRBEX_DATA_BIDIRECTIONAL, *PSRBEX_DATA_BIDIRECTIONAL;
View the official Windows Driver Kit DDI referenceNo description available.
The SRBEX_DATA_BIDIRECTIONAL structure contains the extended SRB data for bi-directional transfer commands.
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 SrbExDataTypeBidirectional.
LengthLength of the data in this structure, in bytes, starting with the DataInTransferLength member. Set to SRBEX_DATA_BIDIRECTIONAL_LENGTH.
DataInTransferLengthLength of the data present in the DataInBuffer member.
Reserved1This member is reserved. Set to 0.
DataInBufferA pointer to the buffer that contains the data sent from the device.
The SRBEX_DATA_BIDIRECTIONAL structure contains the extended SRB data for bi-directional transfer commands.
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 SrbExDataTypeBidirectional.
LengthLength of the data in this structure, in bytes, starting with the DataInTransferLength member. Set to SRBEX_DATA_BIDIRECTIONAL_LENGTH.
DataInTransferLengthLength of the data present in the DataInBuffer member.
Reserved1This member is reserved. Set to 0.
DataInBufferA pointer to the buffer that contains the data sent from the device.