INetDiagHelper::Cancel method (ndhelper.h)
The Cancel method cancels an ongoing diagnosis or repair.
Syntax
HRESULT Cancel();
Return value
| Return code | Description |
|---|---|
|
The operation succeeded. |
|
There is not enough memory available to complete this operation. |
|
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
The Cancel method is required when building a Helper Class Extension.
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | ndhelper.h |