TraceLoggingOpcode macro (traceloggingprovider.h)

Wrapper macro for setting the event's opcode.

Syntax

void TraceLoggingOpcode(
   eventOpcode
);

Parameters

eventOpcode

The event opcode. The event opcode must be a compile-time constant between 0 and 255.

Return value

None

Remarks

If TraceLoggingOpcode has no provided argument, the default opcode is 0 (EVENT_TRACE_TYPE_INFO). If multiple arguments are provided, the value from the previous call to TraceLoggingOpcode is used.

Requirements

   
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header traceloggingprovider.h