DEVICE_DATA_SET_REPAIR_PARAMETERS structure (winioctl.h)

Specifies parameters for the repair operation. A repair operation is initiated by specifying DeviceDsmAction_Repair in the Action member of the DEVICE_MANAGE_DATA_SET_ATTRIBUTES structure passed in a IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES control code.

Syntax

typedef struct _DEVICE_DATA_SET_REPAIR_PARAMETERS {
  DWORD NumberOfRepairCopies;
  DWORD SourceCopy;
  DWORD RepairCopies[ANYSIZE_ARRAY];
} DEVICE_DATA_SET_REPAIR_PARAMETERS, *PDEVICE_DATA_SET_REPAIR_PARAMETERS, DEVICE_DSM_REPAIR_PARAMETERS, *PDEVICE_DSM_REPAIR_PARAMETERS;

Members

NumberOfRepairCopies

The number of copies that will be repaired.

SourceCopy

The copy number of the source copy.

RepairCopies[ANYSIZE_ARRAY]

The copy numbers of all the copies that will be repaired.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header winioctl.h (include Windows.h)

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES