//
// Priority and affinity change events.
//
typedef struct _ETW_PRIORITY_EVENT
{
ULONG ThreadId;
SCHAR OldPriority;
SCHAR NewPriority;
SCHAR DynamicPriority; // SetBasePriority events only
SCHAR Reserved;
} ETW_PRIORITY_EVENT, *PETW_PRIORITY_EVENT;
View code on GitHub