SRBEX_DATA_BIDIRECTIONAL structure (srb.h)

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.
 

Syntax

typedef struct _SRBEX_DATA_BIDIRECTIONAL {
  SRBEXDATATYPE       Type;
  ULONG               Length;
  ULONG               DataInTransferLength;
  ULONG               Reserved1;
  PVOID POINTER_ALIGN DataInBuffer;
} SRBEX_DATA_BIDIRECTIONAL, *PSRBEX_DATA_BIDIRECTIONAL;

Members

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.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Header srb.h (include Storport.h, Srb.h, Minitape.h)

See also

STORAGE_REQUEST_BLOCK