TraceLoggingWriteStop macro (traceloggingactivity.h)

Stops an activity and logs the stop event.

The activity must not have already been stopped.

Syntax

void TraceLoggingWriteStop(
  [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

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

See also

TraceLoggingWriteStart