Share via


OnUpdate

Applies To: Windows 8, Windows 8.1

Instructs the library to continue an operation.

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.

See Also

Reference

IControlProgressHandler