Event tracing controllers will call EnableTrace passing in the provider flags for an event tracing session. These flags get communicated to the provider and is retrieved by calling GetTraceEnableFlags. [C++]
public: DWORD GetTracerFlags();
ParametersNone. Return ValueThis method returns the provider’s flags that are specifically interpreted by the provider. The tracer flags can be used to specify the type of events the provider should produce. This can be a similarly-defined set of bit-mask flags like those used to enable the various event traces from the kernel. However, many providers may not publish their enabled flags, so good providers should always treat a value of zero as meaning all traces. RequirementsPlatforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family Header: Declared in WMIEventTracing.h
See AlsoCVariableLengthBaseEvent Members | CVariableLengthBaseEvent | CTraceEvent Members | CTraceEvent | CTraceController Members | CTraceController | CEventTraceConfig | CBaseEvent Members | CBaseEvent |
Contact Me | Developing WMI Solutions | Gwyn Cole's Developer Blog | Legal |
© 2003 Content by Gwyn Cole. All rights reserved. |