Export (0) Print
Expand All

TRACE_INFORMATION_CLASS enumeration

The TRACE_INFORMATION_CLASS enumeration type is used to indicate types of information associated with a WMI event tracing session.

Syntax


typedef enum _TRACE_INFORMATION_CLASS { 
  TraceIdClass                    = 0,
  TraceHandleClass,
  TraceEnableFlagsClass,
  TraceEnableLevelClass,
  GlobalLoggerHandleClass,
  EventLoggerHandleClass,
  AllLoggerHandlesClass,
  TraceHandleByNameClass,
  LoggerEventsLostClass,
  TraceSessionSettingsClass,
  LoggerEventsLoggedClass,
  DiskIoNotifyRoutinesClass,
  TraceInformationClassReserved1,
  FltIoNotifyRoutinesClass,
  TraceInformationClassReserved2,
  WdfNotifyRoutinesClass,
  MaxTraceInformationClass
} TRACE_INFORMATION_CLASS;

Constants

TraceIdClass

Retrieves the logger ID (ULONG) of an event tracing session given a caller-supplied Wnode.

TraceHandleClass

Retrieves a trace handle (TRACEHANDLE) for an event tracing session given a caller-supplied logger ID (ULONG).

TraceEnableFlagsClass

Retrieves the enable flags (ULONG) set on a caller-supplied event trace handle (TRACEHANDLE).

TraceEnableLevelClass

Retrieves the enable level (ULONG) set on a caller-supplied event trace handle (TRACEHANDLE).

GlobalLoggerHandleClass

Retrieves an event trace handle (TRACEHANDLE) for the global logger.

EventLoggerHandleClass

Reserved for use by the operating system.

AllLoggerHandlesClass

Retrieves an array of event trace handles (TRACEHANDLE array) for all valid loggers.

TraceHandleByNameClass

Retrieves an event trace handle (TRACEHANDLE) identified by a caller-supplied friendly name (UNICODE_STRING structure in buffer).

LoggerEventsLostClass

Retrieves the number (ULONG) of events lost for a logger session given a caller-supplied logger ID (ULONG).

TraceSessionSettingsClass

Retrieves the settings (ETW_TRACE_SESSION_SETTINGS structure) for a logger session given a caller-supplied trace handle (TRACEHANDLE).

LoggerEventsLoggedClass

Retrieves the number (ULONG) of events logged in a logger session given a caller-supplied logger ID (ULONG).

DiskIoNotifyRoutinesClass

Reserved for use by the operating system.

TraceInformationClassReserved1

Reserved for use by the operating system.

FltIoNotifyRoutinesClass

Reserved for use by the operating system.

TraceInformationClassReserved2

Reserved for use by the operating system.

WdfNotifyRoutinesClass

Reserved for use by the operating system.

MaxTraceInformationClass

The maximum value in this enumeration type.

Remarks

TRACE_INFORMATION_CLASS is provided primarily for use with the WmiQueryTraceInformation routine, which returns information about a WMI event tracing session.

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

WmiFireEvent
WmiQueryTraceInformation
WmiTraceMessage
WmiTraceMessageVa

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft