TraceLoggingWriteStart macro (traceloggingactivity.h)

Starts an activity and logs the start event.

The activity must not have already been started.

Syntax

void TraceLoggingWriteStart(
  [in]  activity,
  [in]  name,
        __VA_ARGS__
);

Parameters

[in] activity

The activity to start.

[in] name

The name of the event. This must be a string literal and not a variable. It cannot have any embedded nul characters.

__VA_ARGS__

Return value

None

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header traceloggingactivity.h

See also

TraceLoggingWriteStop