TRACE_ENABLE_INFO structure (evntrace.h)

Defines the session and the information that the session used to enable the provider. This information is returned by EnumerateTraceGuidsEx as part of a TRACE_PROVIDER_INSTANCE_INFO block.

Syntax

typedef struct _TRACE_ENABLE_INFO {
  ULONG     IsEnabled;
  UCHAR     Level;
  UCHAR     Reserved1;
  USHORT    LoggerId;
  ULONG     EnableProperty;
  ULONG     Reserved2;
  ULONGLONG MatchAnyKeyword;
  ULONGLONG MatchAllKeyword;
} TRACE_ENABLE_INFO, *PTRACE_ENABLE_INFO;

Members

IsEnabled

Indicates if the provider is enabled to the session. The value is TRUE if the provider is enabled to the session, otherwise, the value is FALSE. This value should always be TRUE.

Level

Level of detail that the session asked the provider to include in the events. For details, see the Level parameter of the EnableTraceEx function.

Reserved1

Reserved.

LoggerId

Identifies the session that enabled the provider.

EnableProperty

Additional information that the session wants ETW to include in the log file. For details, see the EnableProperty parameter of the EnableTraceEx function.

Reserved2

Reserved.

MatchAnyKeyword

Keywords specify which events the session wants the provider to write. For details, see the MatchAnyKeyword parameter of the EnableTraceEx function.

MatchAllKeyword

Keywords specify which events the session wants the provider to write. For details, see the MatchAllKeyword parameter of the EnableTraceEx function.

Remarks

The TRACE_PROVIDER_INSTANCE_INFO block contains one or more of these structures.

Requirements

Requirement Value
Header evntrace.h

See also

TRACE_PROVIDER_INSTANCE_INFO