Share via


OnEnd

Returns a status code after the end of an operation.

Syntax

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.

IControlProgressHandler