Event Tracing Provider Framework  

CVariableLengthBaseEvent::InitEventData

Used by the derived class to set the event type of the event from within it's constructor.

[C++]
public: void InitEventData(
    int nSize,
    int nEventType
    );

Parameters

nSize
The total size of the EVENT_TRACE_HEADER structure taking into account the variable length data. This is usually called within the derived class's constructor.
nEventType
An integer that represents the event type. This can be a system defined event type starting with EVENT_TRACE_TYPE_XXXX or one of your own event types.

Return Value

None.

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.