DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS structure (winioctl.h)

Specifies parameters for the offload write operation. An offload write operation is initiated by specifying DeviceDsmAction_OffloadWrite in the Action member of the DEVICE_MANAGE_DATA_SET_ATTRIBUTES structure passed in a IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Syntax

typedef struct _DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS {
  DWORD                 Flags;
  DWORD                 Reserved;
  DWORDLONG             TokenOffset;
  STORAGE_OFFLOAD_TOKEN Token;
} DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS, *PDEVICE_DSM_OFFLOAD_WRITE_PARAMETERS;

Members

Flags

Set to 0.

Reserved

Reserved.

TokenOffset

The starting offset to copy from the range bound to the token

Token

STORAGE_OFFLOAD_TOKEN structure containing the token returned from the offload read operation.

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

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES

STORAGE_OFFLOAD_TOKEN