Post · 1 min read· p. 1667

ThreadControlFlags

In a DISPATCHER_HEADER whose Type is ThreadObject (0x06), the byte at offset 0x02 has bit fields in Windows 7 and higher:

MaskDefinitionVersions
0x01UCHAR CpuThrottled : 1;6.1 only
0x02 (6.1); 0x01UCHAR CycleProfiling : 1;6.1 and higher
0x04 (6.1); 0x02UCHAR CounterProfiling : 1;6.1 and higher
0x04UCHAR GroupScheduling : 1;6.2 and higher
0x08UCHAR AffinitySet : 1;6.2 and higher
0x10UCHAR Tagged : 1;10.0 and higher
0x20UCHAR EnergyProfiling : 1;10.0 and higher
0x40UCHAR SchedulerAssist : 1;1803 and higher
0x40 (10.0 to 1709); 0x80UCHAR Instrumented : 1;10.0 and higher (x86)
UCHAR Reserved : 5;6.1 only
UCHAR Reserved : 4;6.2 only
UCHAR Reserved2 : 4;6.3 only
UCHAR ThreadReservedControlFlags : 2;10.0 and 1709 (x64)
UCHAR ThreadReservedControlFlags : 1;10.0 to 1709 (x86); 1803 and higher (x64)