STORAGE_OFFLOAD_WRITE_OUTPUT structure (ntddstor.h)
The STORAGE_OFFLOAD_WRITE_OUTPUT structure is the output of an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code request when the Action member of DEVICE_DSM_INPUT is set to DeviceDsmAction_OffloadWrite.
Syntax
typedef struct _STORAGE_OFFLOAD_WRITE_OUTPUT {
ULONG OffloadWriteFlags;
ULONG Reserved;
ULONGLONG LengthCopied;
} STORAGE_OFFLOAD_WRITE_OUTPUT, *PSTORAGE_OFFLOAD_WRITE_OUTPUT;
Members
OffloadWriteFlags
Flags indicating the result of the offload write operation. This is set to one of the following.
Value | Meaning |
---|---|
STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED | The offload write was performed but the range written was truncated. |
STORAGE_OFFLOAD_TOKEN_INVALID | The token provided for the offload write operation was invalid. |
Reserved
Reserved.
LengthCopied
Bytes copied for the write request in DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS.
Remarks
On input, a token value in DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS uniquely identifies the data set ranges requested for writing in the DEVICE_DSM_INPUT structure. The STORAGE_OFFLOAD_WRITE_OUTPUT structure contains the results of the write operation.
The STORAGE_OFFLOAD_WRITE_OUTPUT structure is returned at the beginning of the system buffer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 8 and later versions of Windows. |
Header | ntddstor.h (include Ntddstor.h) |