DEVICE_DATA_SET_REPAIR_PARAMETERS structure

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_MANAGE_DATA_SET_ATTRIBUTES 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;

Members

NumberOfRepairCopies

The total number of copies to repair.

SourceCopy

The source copy number.

RepairCopies

An array of copy numbers for the copies to repair.

Remarks

The ParameterBlockOffset and ParameterBlockLength members of DEVICE_MANAGE_DATA_SET_ATTRIBUTES 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_MANAGE_DATA_SET_ATTRIBUTES specify the DEVICE_DATA_SET_RANGE structures containing the extents of the repair copies.

Requirements

Version

Available starting with Windows 8.

Header

Ntddstor.h (include Ntddstor.h)

See also

DEVICE_DATA_MANAGEMENT_SET_ACTION
DEVICE_MANAGE_DATA_SET_ATTRIBUTES
IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES

 

 

Send comments about this topic to Microsoft

Show: