// 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 reference
No 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.
Type
Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeBidirectional.
Length
Length of the data in this structure, in bytes, starting with the DataInTransferLength member. Set to SRBEX_DATA_BIDIRECTIONAL_LENGTH.
DataInTransferLength
Length of the data present in the DataInBuffer member.
Reserved1
This member is reserved. Set to 0.
DataInBuffer
A 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.
Type
Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeBidirectional.
Length
Length of the data in this structure, in bytes, starting with the DataInTransferLength member. Set to SRBEX_DATA_BIDIRECTIONAL_LENGTH.
DataInTransferLength
Length of the data present in the DataInBuffer member.
Reserved1
This member is reserved. Set to 0.
DataInBuffer
A pointer to the buffer that contains the data sent from the device.