Post · 3 min read· pp. 2469–2471

NTETW.H

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

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

and draws from it the following type definition:

Line NumberType
268enum _ETW_NOTIFICATION_TYPE

The header NTETW.H is published in the “minwin” directory of the Windows Driver Kit (WDK) for Windows 10 in the original and Version 1511 editions. Microsoft is not known to have published it before or since.

Private Symbol Files

Perhaps by oversight, but perhaps not, Microsoft has since Windows 8 distributed some private symbol files in downloadable packages of otherwise public symbol files. Though Microsoft no longer packages symbol files for downloading, these private symbol files continue to be made available at Microsoft’s public symbol server. A few of these private symbol files show that the corresponding binaries were built with NTETW.H included by the source files. They thus tell of many more types that are defined in NTETW.H than do the public symbol files for the kernel. The applicable binaries are conspicuously few (up to and including the 2004 release of Windows 10):

  • AppXDeploymentClient.dll, but not in 1607 to 1709 inclusive;
  • CertEnroll.dll, but not in 10.0 to 1709 inclusive;
  • combase.dll, in 1607 and higher;
  • twinui.dll, in 1803 and higher;
  • Windows.Storage.ApplicationData.dll, in all.

Since this header’s contents are completely known for the early releases of Windows 10 but not before or since, it is as well to move on a few years. The table below is of types that are defined in the otherwise unseen NTETW.H in the 2004 edition of WIndows 10:

Line Number (Version 2004)Type
82struct _ETW_UMGL_KEY
298enum _ETW_NOTIFICATION_TYPE
316enum ETWTRACECONTROLCODE
328struct _ETW_NOTIFICATION_HEADER
414struct _ETW_KERNEL_HEADER_EXTENSION
422struct _ETW_SET_MARK_INFORMATION
427struct _ETW_PARTITION_INFO_EXTENSION
436struct _ETW_PARTITION_INFO_EXTENSION
445struct _ETW_LAST_DROPPED_EVENT_STRUCT
455enum _EVENT_TRACE_INFORMATION_CLASS
485struct _EVENT_TRACE_VERSION_INFORMATION
490struct _EVENT_TRACE_GROUPMASK_INFORMATION
496struct _EVENT_TRACE_PERFORMANCE_INFORMATION
501struct _EVENT_TRACE_TIME_PROFILE_INFORMATION
506struct _EVENT_TRACE_SESSION_SECURITY_INFORMATION
513struct _EVENT_TRACE_SPINLOCK_INFORMATION_V1
520struct _EVENT_TRACE_SPINLOCK_INFORMATION
528struct _EVENT_TRACE_SYSTEM_EVENT_INFORMATION
534struct _EVENT_TRACE_TAG_FILTER_INFORMATION
540struct _EVENT_TRACE_EXECUTIVE_RESOURCE_INFORMATION
547struct _EVENT_TRACE_HEAP_TRACING_INFORMATION
576struct _EVENT_TRACE_PROFILE_LIST_INFORMATION
582struct _EVENT_TRACE_PROFILE_COUNTER_INFORMATION
590struct _EVENT_TRACE_STACK_CACHING_INFORMATION
599struct _EVENT_TRACE_SOFT_RESTART_INFORMATION
626struct _EVENT_TRACE_LBR_CONFIGURATION_INFORMATION
634struct _EVENT_TRACE_PROFILE_ADD_INFORMATION_V2
636unnamed struct Intel in anonymous union in struct _EVENT_TRACE_PROFILE_ADD_INFORMATION_V2
644unnamed struct Amd in anonymous union in struct _EVENT_TRACE_PROFILE_ADD_INFORMATION_V2
648unnamed stuct Arm in anonymous union in struct _EVENT_TRACE_PROFILE_ADD_INFORMATION_V2
655struct _EVENT_TRACE_PROFILE_ADD_INFORMATION
675struct _EVENT_TRACE_PROFILE_REMOVE_INFORMATION
690struct _EVENT_TRACE_IPT_CONFIGURATION_INFORMATION
711enum _ETW_COVERAGE_SAMPLER_INFORMATION_CLASS
722struct _EVENT_TRACE_COVERAGE_SAMPLER_INFORMATION
737struct _ETW_COVERAGE_SAMPLER_STATS
757struct _ETW_COVERAGE_SAMPLER_OPTION_FLAGS
775struct _ETW_COVERAGE_SAMPLER_OPTIONS
802struct _ETW_COVERAGE_SAMPLER_PERF_STATS
916struct _ETW_COVERAGE_SAMPLER_STATUS
929struct _ETW_COVERAGE_SAMPLER_BLOOM_FILTER
1052struct _ETW_COVERAGE_SAMPLER_CREATE_INFO
1059struct _ETW_COVERAGE_SAMPLER_BLOOM_INFO
1064struct _ETW_COVERAGE_SAMPLER_PERF_INFO
1069struct _ETW_COVERAGE_SAMPLER_STATUS_INFO
1074struct _ETW_COVERAGE_SAMPLER_MODULE
1095struct _ETW_COVERAGE_SAMPLER_SAMPLE
1102struct _ETW_COVERAGE_SAMPLER_DATA
1118struct _ETW_COVERAGE_SAMPLER_QUERY_INFO
1128enum _ETW_SESSION_NOTIFICATION_TYPE
1137struct _ETW_SESSION_NOTIFICATION_PACKET