Post · 2 min read· pp. 1924–1925

ETW_NOTIFICATION_TYPE

The ETW_NOTIFICATION_TYPE enumeration has the values that are meaningful for the NotificationType in an ETW_NOTIFICATION_HEADER or ETWP_NOTIFICATION_HEADER.

Documentation Status

The ETW_NOTIFICATION_TYPE enumeration is not documented, but Microsoft has published a C-language definition in the NTETW.H header from the original and Version 1511 editions of the Windows Driver Kit (WDK) for Windows 10.

Were it not for this relatively recent and possibly unintended disclosure, the practical equivalent of a C-language definition has since Windows 8 been published as type information in the symbol files for the kernel. For earlier versions, type information is known from a statically linked library, named CLFSMGMT.LIB, which Microsoft distributes with the Software Development Kit (SDK) starting with Windows Vista.

Values

Possible values and Microsoft’s names for them are known from type information and the one C-language definition, as described above.

ValueNameVersions
0x01EtwNotificationTypeNoReply6.0 and higher
0x02EtwNotificationTypeLegacyEnable6.0 and higher
0x03EtwNotificationTypeEnable6.0 and higher
0x04EtwNotificationTypePrivateLogger6.0 and higher
0x05EtwNotificationTypePerfLib6.0 and higher
0x06EtwNotificationTypeAudio6.0 and higher
0x07EtwNotificationTypeSession6.0 and higher
0x08EtwNotificationTypeReserved6.0 and higher
0x09EtwNotificationTypeCredentialUI6.0 and higher
0x0AEtwNotificationTypeInProcSession6.3 and higher
0x0BEtwNotificationTypeFilteredPrivateLogger1703 and higher
0x0A (6.0 to 6.2); 0x0B (6.3 to 1607); 0x0CEtwNotificationTypeMax6.0 and higher

Definition of EtwNotificationTypeReserved is known only from type information in symbol files. No use or implementation is yet known in any version.

Some notification types are not possible for notifications from user mode just from calling documented API functions. They instead require such NTDLL functions as EtwSendNotification and look to have very particular reasons for existence. For instance, EtwNotificationTypeCredentialUI is known only in notifications from CONSENT.EXE as it enters and leaves the secure desktop.