[NDK][NTOS:PS] Add missing THREADINFOCLASS values

This commit is contained in:
Hermès Bélusca-Maïto
2025-11-23 21:33:31 +01:00
parent 8289415359
commit 17419ab4a2
2 changed files with 92 additions and 12 deletions

View File

@@ -410,17 +410,16 @@ static const INFORMATION_CLASS_INFO PsThreadInfoClass[] =
),
/* ThreadDescriptorTableEntry is only implemented in x86 as well as the descriptor entry */
#if defined(_X86_)
/* ThreadDescriptorTableEntry */
IQS_SAME
(
DESCRIPTOR_TABLE_ENTRY,
ULONG,
ICIF_QUERY
),
#else
IQS_NONE,
#endif
#if defined(_X86_)
IQS_SAME
(
DESCRIPTOR_TABLE_ENTRY,
ULONG,
ICIF_QUERY
),
#else
IQS_NONE,
#endif
/* ThreadEnableAlignmentFaultFixup */
IQS
@@ -555,4 +554,70 @@ static const INFORMATION_CLASS_INFO PsThreadInfoClass[] =
/* ThreadCSwitchMon */
IQS_NONE,
// Windows 7
/* ThreadCSwitchPmu */
IQS_NONE,
/* ThreadWow64Context */
IQS_NONE,
/* ThreadGroupInformation */
IQS_NONE,
/* ThreadUmsInformation */
IQS_NONE,
/* ThreadCounterProfiling */
IQS_NONE,
/* ThreadIdealProcessorEx */
IQS_NONE,
// Windows 8
/* ThreadCpuAccountingInformation */
IQS_NONE,
// Windows 8.1
/* ThreadSuspendCount */
IQS_NONE,
// Windows 10
/* ThreadHeterogeneousCpuPolicy */
IQS_NONE,
/* ThreadContainerId */
IQS_NONE,
/* ThreadNameInformation */
IQS_NONE,
/* ThreadSelectedCpuSets */
IQS_NONE,
/* ThreadSystemThreadInformation */
IQS_NONE,
/* ThreadActualGroupAffinity */
IQS_NONE,
/* ThreadDynamicCodePolicyInfo */
IQS_NONE,
/* ThreadExplicitCaseSensitivity */
IQS_NONE,
/* ThreadWorkOnBehalfTicket */
IQS_NONE,
/* ThreadSubsystemInformation */
IQS_NONE,
/* ThreadDbgkWerReportActive */
IQS_NONE,
/* ThreadAttachContainer */
IQS_NONE,
/* ThreadManageWritesToExecutableMemory */
IQS_NONE,
/* ThreadPowerThrottlingState */
IQS_NONE,
/* ThreadWorkloadClass */
IQS_NONE,
/* ThreadCreateStateChange */
IQS_NONE,
/* ThreadApplyStateChange */
IQS_NONE,
/* ThreadStrongerBadHandleChecks */
IQS_NONE,
/* ThreadEffectiveIoPriority */
IQS_NONE,
/* ThreadEffectivePagePriority */
IQS_NONE,
};

View File

@@ -428,13 +428,28 @@ typedef enum _THREADINFOCLASS
ThreadSuspendCount, // 0x23
// Windows 10
ThreadHeterogeneousCpuPolic, // 0x24
ThreadHeterogeneousCpuPolicy, // 0x24
ThreadContainerId,
ThreadNameInformation,
ThreadSelectedCpuSets,
ThreadSystemThreadInformation,
ThreadActualGroupAffinity,
ThreadDynamicCodePolicyInfo,
ThreadExplicitCaseSensitivity,
ThreadWorkOnBehalfTicket,
ThreadSubsystemInformation,
ThreadDbgkWerReportActive,
ThreadAttachContainer,
ThreadManageWritesToExecutableMemory,
ThreadPowerThrottlingState,
ThreadWorkloadClass,
ThreadCreateStateChange,
ThreadApplyStateChange,
ThreadStrongerBadHandleChecks,
ThreadEffectiveIoPriority,
ThreadEffectivePagePriority,
MaxThreadInfoClass
} THREADINFOCLASS;