Skip to main content
IEventCallback::OnBeginProcessTrace method

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

HeaderEvent [in]

Type: ITraceEvent*

Supplies a pointer to the header event.

Relogger [in]

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Relogger.h

IDL

Relogger.idl

See also

ITraceEventCallback