ITraceEventCallback::OnBeginProcessTrace method (relogger.h)

The OnBeginProcessTrace trace method indicates that a trace is about to begin so that relogging can be started.

Syntax

HRESULT OnBeginProcessTrace(
  [in] ITraceEvent    *HeaderEvent,
  [in] ITraceRelogger *Relogger
);

Parameters

[in] HeaderEvent

Type: ITraceEvent*

Supplies a pointer to the header event.

[in] Relogger

Type: ITraceRelogger*

Supplies a pointer to the ITraceRelogger interface, which exposes APIs for actual event injection, synthesizing new events, and cloning existing events.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header relogger.h

See also

ITraceEventCallback