TraceLoggingOptionGroup macro (traceloggingprovider.h)

Wrapper macro for use in TRACELOGGING_DEFINE_PROVIDER to declare the GUID of the provider group that the provider is a member of.

Syntax

void TraceLoggingOptionGroup(
  [in]  g1,
  [in]  g2,
  [in]  g3,
  [in]  g4,
  [in]  g5,
  [in]  g6,
  [in]  g7,
  [in]  g8,
  [in]  g9,
  [in]  g10,
  [in]  g11
);

Parameters

[in] g1

The first 4 bytes of the GUID.

[in] g2

The next 2 bytes of the GUID.

[in] g3

The next 2 bytes of the GUID.

[in] g4

The next byte of the GUID.

[in] g5

The next byte of the GUID.

[in] g6

The next byte of the GUID.

[in] g7

The next byte of the GUID.

[in] g8

The next byte of the GUID.

[in] g9

The next byte of the GUID.

[in] g10

The next byte of the GUID.

[in] g11

The next byte of the GUID.

Return value

None

Remarks

A provider can be a member of no more than one group. The semantics of group membership are determined by ETW controllers that subscribe a session to a group.

The following code sample shows how to construct the GUID:

TraceLoggingOptionGroup(0x3970f9cf, 0x2c0c, 0x4f11, 0xb1, 0xcc, 0xe3, 0xa1, 0xe9, 0x95, 0x88, 0x33);

Requirements

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