Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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) |