Post · 1 min read· p. 2383

EVNTCONS.H

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

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

and draws from it the following type definitions:

Line NumberType
64struct _EVENT_HEADER_EXTENDED_DATA_ITEM
140struct _EVENT_HEADER
166struct _EVENT_RECORD

A header named EVNTCONS.H is among the headers in the publicly available Windows Driver Kit (WDK) for Windows 10. It is there in the “um” subdirectory with many other headers for 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
64struct _EVENT_HEADER_EXTENDED_DATA_ITEM
83struct _EVENT_EXTENDED_ITEM_INSTANCE
89struct _EVENT_EXTENDED_ITEM_RELATED_ACTIVITYID
93struct _EVENT_EXTENDED_ITEM_TS_ID
97struct _EVENT_EXTENDED_ITEM_STACK_TRACE32
102struct _EVENT_EXTENDED_ITEM_STACK_TRACE64
107struct _EVENT_EXTENDED_ITEM_PEBS_INDEX
111struct _EVENT_EXTENDED_ITEM_PMC_COUNTERS
115struct _EVENT_EXTENDED_ITEM_PROCESS_START_KEY
119struct _EVENT_EXTENDED_ITEM_EVENT_KEY
140struct _EVENT_HEADER
166struct _EVENT_RECORD
219enum ETW_PROVIDER_TRAIT_TYPE
295enum EVENTSECURITYOPERATION