This class allows the provider to fire events to the Operating System’s event tracer. The class is used through the ET_EVENT macro. For a list of all members of this type, see CTraceController Members. CTraceEvent [C++]
class CTraceEvent
Example[C++]
void SomeFunction()
{
ETFunc(); // This function will trace events
// Trace the fixed length structure event.
ET_EVENT(CEventFixedLen(12345));
// Trace the variable length structure event.
ET_EVENT(CEventVariableLen(L"this string", L"that string",
L"other string"));
}
RequirementsPlatforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family Header: Declared in WMIEventTracing.h
See AlsoCVariableLengthBaseEvent Members | CTraceEvent Members | CTraceController Members | CBaseEvent Members |
Contact Me | Developing WMI Solutions | Gwyn Cole's Developer Blog | Legal |
© 2003 Content by Gwyn Cole. All rights reserved. |