STORAGE_OFFLOAD_WRITE_OUTPUT structure (winioctl.h)

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

Syntax

typedef struct _STORAGE_OFFLOAD_WRITE_OUTPUT {
  DWORD     OffloadWriteFlags;
  DWORD     Reserved;
  DWORDLONG LengthCopied;
} STORAGE_OFFLOAD_WRITE_OUTPUT, *PSTORAGE_OFFLOAD_WRITE_OUTPUT;

Members

OffloadWriteFlags

Out flags

Value Meaning
STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED
0x0001
The range written is less than the range specified.
STORAGE_OFFLOAD_TOKEN_INVALID
0x0002
The token specified is not valid.

Reserved

Reserved.

LengthCopied

The length of the copied content.

Requirements

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

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES