Post · 2 min read· pp. 2386–2387

EVNTRACE.H

The public symbol file NTKRPAMP.PDB for the original release of Windows 10 tells that the kernel is built with the EVNTRACE.H header at

d:\th.public.fre\internal\minwin\priv_sdk\inc

and draws from it the following type definitions:

Line NumberType
653struct _TRACE_LOGFILE_HEADER
657unnamed struct VersionDetail in anonymous union in struct _TRACE_LOGFILE_HEADER
876struct _ETW_BUFFER_CONTEXT
901struct _TRACE_ENABLE_INFO

A header named EVNTRACE.H is among the headers in the publicly available Windows Driver Kit (WDK) for Windows 10. It is there in the “shared” subdirectory with many other headers that are intended for use in both kernel-mode and user-mode programming.

For completeness, note that the kernel uses other types that are defined in this header but which do not show in the public symbol files—and the header defines types that are not used by the kernel:

Line NumberType
500struct _EVENT_TRACE_HEADER
511unnamed struct Class in anonymous union in struct _EVENT_TRACE_HEADER
540struct _EVENT_INSTANCE_HEADER
551unnamed struct Class in anonymous union in struct _EVENT_INSTANCE_HEADER
630struct _MOF_FIELD
653struct _TRACE_LOGFILE_HEADER
657unnamed struct VersionDetail in anonymous union in struct _TRACE_LOGFILE_HEADER
696struct _TRACE_LOGFILE_HEADER32
700unnamed struct VersionDetail in anonymous union in struct _TRACE_LOGFILE_HEADER32
739struct _TRACE_LOGFILE_HEADER64
643unnamed struct VersionDetail in anonymous union in struct _TRACE_LOGFILE_HEADER64
792struct EVENT_INSTANCE_INFO
813struct _EVENT_TRACE_PROPERTIES
850struct _TRACE_GUID_REGISTRATION
861struct _TRACE_GUID_PROPERTIES
876struct _ETW_BUFFER_CONTEXT
901struct _TRACE_ENABLE_INFO
918struct _TRACE_PROVIDER_INSTANCE_INFO
930struct _TRACE_GUID_INFO
935struct _PROFILE_SOURCE_INFO
955struct _EVENT_TRACE
1023struct _EVENT_TRACE_LOGFILEW
1059struct _EVENT_TRACE_LOGFILEA
1464struct _ENABLE_TRACE_PARAMETERS_V1
1472struct _ENABLE_TRACE_PARAMETERS
1507enum _TRACE_QUERY_INFO_CLASS
1550struct _CLASSIC_EVENT_ID
1556struct _TRACE_PROFILE_INTERVAL
1561struct _TRACE_VERSION_INFO