DEVICE_DATA_SET_REPAIR_PARAMETERS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ntddstor-_device_data_set_repair_parameters)

_DEVICE_DATA_SET_REPAIR_PARAMETERS structure

Description

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.

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_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.

See also

DEVICE_DSM_ACTION Descriptions

DEVICE_DSM_INPUT

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES


Win32 API reference (ns-winioctl-device_data_set_repair_parameters)

DEVICE_DATA_SET_REPAIR_PARAMETERS structure

Description

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.

Members

NumberOfRepairCopies

The number of copies that will be repaired.

SourceCopy

The copy number of the source copy.

RepairCopies

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

See also

DEVICE_MANAGE_DATA_SET_ATTRIBUTES

Device Management Structures

IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES