Event Tracing Provider Framework  

CTraceController::IsTracerActive

The method is used internally by the application to determine if it should be tracing events to the Operating System's event tracer.

[C++]
public: ULONG IsTracerActive();

Parameters

None.

Return Value

This method returns TRUE (1) if the provider’s control callback received an WMI_ENABLE_EVENTS event from the Operating System’s event tracer. If an WMI_DISABLE_EVENTS event is received, FALSE (0) is returned.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Header: Declared in WMIEventTracing.h

 

See Also

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