Bewerken

Delen via


SRBEX_DATA_IO_INFO structure (storport.h)

The SRBEX_DATA_IO_INFO structure contains additional information related to a read or write request in an extended SRB.

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_IO_INFO {
  SRBEXDATATYPE Type;
  ULONG         Length;
  ULONG         Flags;
  ULONG         Key;
  ULONG         RWLength;
  BOOLEAN       IsWriteRequest;
  UCHAR         CachePriority;
  UCHAR         Reserved[2];
  ULONG         Reserved1[2];
} SRBEX_DATA_IO_INFO, *PSRBEX_DATA_IO_INFO;

Members

Type

Data type indicator for the bidirectional extended SRB data structure. Set to SrbExDataTypeIoInfo.

Length

Length of the data in this structure, in bytes, starting with the Flags member. Set to SRBEX_DATA_IO_INFO_LENGTH.

Flags

Flags set for handling the request. May be a combination of these values:

Value Meaning
REQUEST_INFO_NO_CACHE_FLAG
Non-cached writes are specified for this request.
REQUEST_INFO_PAGING_IO_FLAG
Paging IO is specified for this request.
REQUEST_INFO_SEQUENTIAL_IO_FLAG
Reads or writes are sequential.
REQUEST_INFO_TEMPORARY_FLAG
The file for this request is temporary.
REQUEST_INFO_WRITE_THROUGH_FLAG
No system buffering for the request.
REQUEST_INFO_HYBRID_WRITE_THROUGH_FLAG
Perform a hybrid cache write through to disk

This flag is available starting with Windows 8.1 Update.

REQUEST_INFO_VALID_CACHEPRIORITY_FLAG
The hybrid cache priority level is valid for this I/O.

This flag is available starting with Windows 8.1 Update.

Key

A tag value to identify a block of data transferred.

RWLength

The length, in bytes of the data to transfer.

IsWriteRequest

TRUE if the I/O operation in the SRB is a write request. Otherwise, FALSE; the I/O operation is a read request.

CachePriority

Priority level for a hybrid cache read or write.

This member is valid starting with Windows 8.1 Update.

Reserved[2]

This member is reserved. Set to 0.

Reserved1[2]

This member is reserved. Set to 0.

This member is present starting with Windows 8.1 Update.

Requirements

Requirement Value
Minimum supported client Windows 8
Header storport.h (include Storport.h, Srb.h, Minitape.h)

See also

STORAGE_REQUEST_BLOCK