Bewerken

Delen via


REARRANGE_FILE_DATA structure (ntifs.h)

REARRANGE_FILE_DATA is the input structure for the FSCTL_REARRANGE_FILE control code.

Syntax

typedef struct _REARRANGE_FILE_DATA {
  ULONGLONG SourceStartingOffset;
  ULONGLONG TargetOffset;
  HANDLE    SourceFileHandle;
  ULONG     Length;
  ULONG     Flags;
} REARRANGE_FILE_DATA, *PREARRANGE_FILE_DATA;

Members

SourceStartingOffset

Cluster-aligned byte offset of the base of the contiguous source region in the source file to move to the target location of the target file.

TargetOffset

Cluster-aligned byte offset of the point to insert the source region.

SourceFileHandle

Handle to the alternate file to move the source region clusters from. This feature is not currently supported so SourceFileHandle must be set to NULL, which indicates that the source region is from the same file.

Length

Cluster-aligned length in bytes of the source region.

Flags

Reserved for future use; must be set to zero.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header ntifs.h

See also

FSCTL_REARRANGE_FILE