REPAIR_COPIES_INPUT structure (winioctl.h)

Input structure for the FSCTL_REPAIR_COPIES control code. It describes a single block of data and indicates which of the copies is to be copied to the specified copies of the data. The

Syntax

typedef struct _REPAIR_COPIES_INPUT {
  DWORD         Size;
  DWORD         Flags;
  LARGE_INTEGER FileOffset;
  DWORD         Length;
  DWORD         SourceCopy;
  DWORD         NumberOfRepairCopies;
  DWORD         RepairCopies[ANYSIZE_ARRAY];
} REPAIR_COPIES_INPUT, *PREPAIR_COPIES_INPUT;

Members

Size

Set to sizeof(REPAIR_COPIES_INPUT).

Flags

Reserved (must be zero)

FileOffset

The file position to start the repair operation.

Length

The number of bytes to be repaired.

SourceCopy

The zero-based copy number of the source copy.

NumberOfRepairCopies

The number of copies that will be repaired. This is the size of the RepairCopies array.

RepairCopies

The zero-based copy numbers of the copies that will be repaired.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

FSCTL_REPAIR_COPIES

REPAIR_COPIES_OUTPUT

Volume Management Structures