Share via


OnEnd

Applies To: Windows 8, Windows 8.1

Returns a status code after the end of an operation.

HRESULT OnEnd(HRESULT hrResult);

Parameters

  • hrResult [in]
    Status code of the operation after it finishes.

Return Value

The following table describes possible return values. WPR ignores failure values.

Return Value Description

S_OK

The function successfully returned the status.

Remarks

The library does not check the return value of this function.

When stopping or saving a trace, this callback also returns the number of events lost in the trace.

See Also

Reference

IControlProgressHandler