INetDiagHelper::Cleanup method (ndhelper.h)

The Cleanup method allows the Helper Class Extension to clean up resources following a diagnosis or repair operation.

Syntax

HRESULT Cleanup();

Return value

Return code Description
S_OK
The operation succeeded.
E_OUTOFMEMORY
There is not enough memory available to complete this operation.
E_ACCESSDENIED
The caller does not have sufficient privileges to perform the diagnosis or repair operation.
E_ABORT
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

The Cleanup method is 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

See also

INetDiagHelper