Skip to content

Latest commit

 

History

History
137 lines (111 loc) · 3.45 KB

ns-evntrace-event_trace.md

File metadata and controls

137 lines (111 loc) · 3.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:evntrace._EVENT_TRACE
EVENT_TRACE (evntrace.h)
The EVENT_TRACE structure is used to deliver event information to an event trace consumer.
*PEVENT_TRACE
EVENT_TRACE
EVENT_TRACE structure [ETW]
PEVENT_TRACE
PEVENT_TRACE structure pointer [ETW]
_EVENT_TRACE
_evt_event_trace
base.event_trace
etw.event_trace
evntrace/EVENT_TRACE
evntrace/PEVENT_TRACE
etw\event_trace.htm
ETW
d8a6b63e-0cd4-4d19-b0b3-16bb0d33e4c0
12/05/2018
*PEVENT_TRACE, EVENT_TRACE, EVENT_TRACE structure [ETW], PEVENT_TRACE, PEVENT_TRACE structure pointer [ETW], _EVENT_TRACE, _evt_event_trace, base.event_trace, etw.event_trace, evntrace/EVENT_TRACE, evntrace/PEVENT_TRACE
evntrace.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
EVENT_TRACE, *PEVENT_TRACE
19H1
_EVENT_TRACE
evntrace/_EVENT_TRACE
PEVENT_TRACE
evntrace/PEVENT_TRACE
EVENT_TRACE
evntrace/EVENT_TRACE
c++
APIRef
kbSyntax
HeaderDef
Evntrace.h
EVENT_TRACE

EVENT_TRACE structure

-description

The EVENT_TRACE structure is used to deliver event information to an event trace consumer.

-struct-fields

-field Header

An EVENT_TRACE_HEADER structure that contains standard event tracing information.

-field InstanceId

Instance identifier. Contains valid data when the provider calls the TraceEventInstance function to generate the event. Otherwise, the value is zero.

-field ParentInstanceId

Instance identifier for a parent event. Contains valid data when the provider calls the TraceEventInstance function to generate the event. Otherwise, the value is zero.

-field ParentGuid

Class GUID of the parent event. Contains valid data when the provider calls the TraceEventInstance function to generate the event. Otherwise, the value is zero.

-field MofData

Pointer to the beginning of the event-specific data for this event.

-field MofLength

Number of bytes to which MofData points.

-field DUMMYUNIONNAME

-field DUMMYUNIONNAME.ClientContext

Reserved.

-field DUMMYUNIONNAME.BufferContext

Provides information about the event such as the session identifier and processor number of the CPU on which the provider process ran. For details, see the ETW_BUFFER_CONTEXT structure.

Prior to Windows Vista: Not supported.

-remarks

ProcessTrace passes this structure to the consumer's EventCallback callback function.

-see-also

EventCallback