DUPLICATE_EXTENTS_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winioctl.h

typedef struct _DUPLICATE_EXTENTS_DATA {
  HANDLE        FileHandle;
  LARGE_INTEGER SourceFileOffset;
  LARGE_INTEGER TargetFileOffset;
  LARGE_INTEGER ByteCount;
} DUPLICATE_EXTENTS_DATA, *PDUPLICATE_EXTENTS_DATA;
View the official Win32 API reference

NtDoc

No description available.

Win32 API reference (ns-winioctl-duplicate_extents_data)

DUPLICATE_EXTENTS_DATA structure

Description

Contains parameters for the FSCTL_DUPLICATE_EXTENTS_TO_FILE control code that performs the Block Cloning operation.

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.

See also

Block Cloning

DeviceIoControl

FSCTL_DUPLICATE_EXTENTS_TO_FILE

File Management Control Codes