DEVICE_DATA_SET_REPAIR_PARAMETERS structure (ntddstor.h)

The DEVICE_DATA_SET_REPAIR_PARAMETERS structure specifies the parameters of a storage spaces repair operation specified for a data set management action.

This parameter structure is used in a repair action for an IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request. The Action member of the DEVICE_DSM_INPUT structure is set to DeviceDsmAction_Repair, and ParameterBlockOffset indicates the location of DEVICE_DATA_SET_REPAIR_PARAMETERS.

Syntax

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

Members

NumberOfRepairCopies

The total number of copies to repair.

SourceCopy

The source copy number.

RepairCopies[ANYSIZE_ARRAY]

An array of copy numbers for the copies to repair.

Remarks

The ParameterBlockOffset and ParameterBlockLength members of DEVICE_DSM_INPUT are set to the location and length of the DEVICE_DATA_SET_REPAIR_PARAMETERS structure in the system buffer of the IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES request.

The DataSetRangesOffset and DataSetRangesLength members of DEVICE_DSM_INPUT specify the DEVICE_DSM_RANGE structures containing the extents of the repair copies.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 8.
Header ntddstor.h (include Ntddstor.h)

See also

DEVICE_DSM_ACTION Descriptions

DEVICE_DSM_INPUT

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES