// ntddstor.h
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;
View the official Windows Driver Kit DDI reference// winioctl.h
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;
View the official Win32 API referenceNo description available.
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.
NumberOfRepairCopiesThe total number of copies to repair.
SourceCopyThe source copy number.
RepairCopiesAn array of copy numbers for the copies to repair.
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.
DEVICE_DSM_ACTION Descriptions
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES
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.
NumberOfRepairCopiesThe number of copies that will be repaired.
SourceCopyThe copy number of the source copy.
RepairCopiesThe copy numbers of all the copies that will be repaired.
DEVICE_MANAGE_DATA_SET_ATTRIBUTES
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES