Jaa


OnUpdate

Instructs the library to continue an operation.

Syntax

HRESULT OnUpdate
  ([in] ULONG CurrentValuePercent)
;

Parameters

CurrentValuePercent
[in] Indicates the percentage of the operation that has completed.

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 that the library cancel the operation. For example, if the user clicks Cancel, the client returns this code to the library.

Remarks

This function is called frequently during an action when some update is performed. For example, when starting tracing, it is called after every provider is enabled and when stopping and merging the trace after some percentage of buffers is merged.

IControlProgressHandler