DUPLICATE_EXTENTS_DATA structure (winioctl.h)
Contains parameters for the FSCTL_DUPLICATE_EXTENTS control code that performs the Block Cloning operation.
Syntax
typedef struct _DUPLICATE_EXTENTS_DATA {
HANDLE FileHandle;
LARGE_INTEGER SourceFileOffset;
LARGE_INTEGER TargetFileOffset;
LARGE_INTEGER ByteCount;
} DUPLICATE_EXTENTS_DATA, *PDUPLICATE_EXTENTS_DATA;
Members
FileHandle
A handle to the source file from which the byte range is to be copied. To retrieve a file handle, use the CreateFile function.
SourceFileOffset
The offset, in bytes, to the beginning of the range to copy from the source file.
TargetFileOffset
The offset, in bytes, to place the copied byte range in the destination file.
ByteCount
The length, in bytes, of the range to copy.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | winioctl.h (include Windows.h) |