TraceLoggingStruct macro (traceloggingprovider.h)

Wrapper macro for defining a group of related fields in an event.

Syntax

void TraceLoggingStruct(
  [in]  fieldCount,
  [in]  name,
        __VA_ARGS__
);

Parameters

[in] fieldCount

The number of fields that will be considered to be part of the structure. This parameter must be a compile-time constant.

[in] name

The name of the structure. The name parameter must be a string literal (not a variable) and must not contain any '\0' characters.

__VA_ARGS__

Return value

None

Requirements

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