STORAGE_OFFLOAD_READ_OUTPUT structure (winioctl.h)

Output structure for the DeviceDsmAction_OffloadRead action of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Syntax

typedef struct _STORAGE_OFFLOAD_READ_OUTPUT {
  DWORD                 OffloadReadFlags;
  DWORD                 Reserved;
  DWORDLONG             LengthProtected;
  DWORD                 TokenLength;
  STORAGE_OFFLOAD_TOKEN Token;
} STORAGE_OFFLOAD_READ_OUTPUT, *PSTORAGE_OFFLOAD_READ_OUTPUT;

Members

OffloadReadFlags

Output flags.

Value Meaning
STORAGE_OFFLOAD_READ_RANGE_TRUNCATED
0x0001
The ranges represented by the token is smaller than the ranges specified in the DEVICE_DATA_SET_RANGE structures passed in the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code input buffer. In other words the LengthProtected member is less than the sum of all of the LengthInBytes members of the DEVICE_DATA_SET_RANGE structures passed.

Reserved

Reserved.

LengthProtected

The total length of the snapshot represented by the token.

TokenLength

Length of the token in bytes.

Token

A STORAGE_OFFLOAD_TOKEN containing the token created.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header winioctl.h (include Windows.h)

See also

DEVICE_DSM_OFFLOAD_READ_PARAMETERS

DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES

STORAGE_OFFLOAD_TOKEN