Share via


OnBegin

Instructs the library to continue progress of an operation.

Syntax

HRESULT OnBegin();

Parameters

None.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

Indicates success. The operation continues.

E_ABORT

The client has requested to cancel the operation. For example, if the user clicks Cancel, the client returns this code.

Remarks

This method is used in callbacks for various tracing actions, such as starting or stopping a trace. It is called just before the action begins.

IControlProgressHandler