ThreadBasicInformationThreadTimesThreadPriorityThreadBasePriorityThreadAffinityMaskThreadImpersonationTokenThreadDescriptorTableEntryThreadEnableAlignmentFaultFixupThreadEventPair_ReusableThreadQuerySetWin32StartAddressThreadZeroTlsCellThreadPerformanceCountThreadAmILastThreadThreadIdealProcessorThreadPriorityBoostThreadSetTlsArrayAddressThreadIsIoPendingThreadHideFromDebuggerThreadBreakOnTerminationThreadSwitchLegacyStateThreadIsTerminatedThreadLastSystemCallThreadIoPriorityThreadCycleTimeThreadPagePriorityThreadActualBasePriorityThreadTebInformationThreadCSwitchMonThreadCSwitchPmuThreadWow64ContextThreadGroupInformationThreadUmsInformationThreadCounterProfilingThreadIdealProcessorExThreadCpuAccountingInformationThreadSuspendCountThreadHeterogeneousCpuPolicyThreadContainerIdThreadNameInformationThreadSelectedCpuSetsThreadSystemThreadInformationThreadActualGroupAffinitypub const THREADINFOCLASS = enum(c_int) {
ThreadBasicInformation,
ThreadTimes,
ThreadPriority,
ThreadBasePriority,
ThreadAffinityMask,
ThreadImpersonationToken,
ThreadDescriptorTableEntry,
ThreadEnableAlignmentFaultFixup,
ThreadEventPair_Reusable,
ThreadQuerySetWin32StartAddress,
ThreadZeroTlsCell,
ThreadPerformanceCount,
ThreadAmILastThread,
ThreadIdealProcessor,
ThreadPriorityBoost,
ThreadSetTlsArrayAddress,
ThreadIsIoPending,
// Windows 2000+ from here
ThreadHideFromDebugger,
// Windows XP+ from here
ThreadBreakOnTermination,
ThreadSwitchLegacyState,
ThreadIsTerminated,
// Windows Vista+ from here
ThreadLastSystemCall,
ThreadIoPriority,
ThreadCycleTime,
ThreadPagePriority,
ThreadActualBasePriority,
ThreadTebInformation,
ThreadCSwitchMon,
// Windows 7+ from here
ThreadCSwitchPmu,
ThreadWow64Context,
ThreadGroupInformation,
ThreadUmsInformation,
ThreadCounterProfiling,
ThreadIdealProcessorEx,
// Windows 8+ from here
ThreadCpuAccountingInformation,
// Windows 8.1+ from here
ThreadSuspendCount,
// Windows 10+ from here
ThreadHeterogeneousCpuPolicy,
ThreadContainerId,
ThreadNameInformation,
ThreadSelectedCpuSets,
ThreadSystemThreadInformation,
ThreadActualGroupAffinity,
}