INetDiagHelper::GetRepairInfo method (ndhelper.h)
The GetRepairInfo method retrieves the repair information that the Helper Class Extension has for a given problem type.
Syntax
HRESULT GetRepairInfo(
[in] PROBLEM_TYPE problem,
[out] ULONG *pcelt,
[out] RepairInfo **ppInfo
);
Parameters
[in] problem
A PROBLEM_TYPE value that specifies the problem type that the helper class has previously diagnosed.
[out] pcelt
A pointer to a count of elements in the RepairInfo array.
[out] ppInfo
A pointer to an array of RepairInfo structures.
Return value
Return code | Description |
---|---|
|
The operation succeeded. |
|
There is not enough memory available to complete this operation. |
|
One or more parameters has not been provided correctly. |
|
This optional method is not implemented. |
|
The caller does not have sufficient privileges to perform the diagnosis or repair operation. |
|
The diagnosis or repair operation has been canceled. |
Helper Class Extensions may return HRESULTS that are specific to the failures encountered in the function.
Remarks
This method is not required when building a Helper Class Extension.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | ndhelper.h |