TraceLoggingStruct macro (traceloggingprovider.h)

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


void TraceLoggingStruct(
  [in]  fieldCount,
  [in]  name,


[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.


Return value



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