From 7675984a0f0d49f5be79cd43854fa06d57ddbb1e Mon Sep 17 00:00:00 2001 From: Ratin Gao Date: Sun, 8 Sep 2024 04:16:48 +0800 Subject: [PATCH] Fix type of `RTL_USER_PROCESS_PARAMETERS::DefaultThreadpoolCpuSetMasks` (#42) --- ntrtl.h | 2 +- ntwow64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ntrtl.h b/ntrtl.h index 2b1dc6e..44820a3 100644 --- a/ntrtl.h +++ b/ntrtl.h @@ -2827,7 +2827,7 @@ typedef struct _RTL_USER_PROCESS_PARAMETERS UNICODE_STRING RedirectionDllName; // REDSTONE4 UNICODE_STRING HeapPartitionName; // 19H1 - ULONG_PTR DefaultThreadpoolCpuSetMasks; + PULONGLONG DefaultThreadpoolCpuSetMasks; ULONG DefaultThreadpoolCpuSetMaskCount; ULONG DefaultThreadpoolThreadMaximum; ULONG HeapMemoryTypeMask; // WIN11 diff --git a/ntwow64.h b/ntwow64.h index c118bb9..cc99706 100644 --- a/ntwow64.h +++ b/ntwow64.h @@ -240,7 +240,7 @@ typedef struct _RTL_USER_PROCESS_PARAMETERS32 UNICODE_STRING32 RedirectionDllName; // REDSTONE4 UNICODE_STRING32 HeapPartitionName; // 19H1 - WOW64_POINTER(ULONG_PTR) DefaultThreadpoolCpuSetMasks; + WOW64_POINTER(ULONGLONG) DefaultThreadpoolCpuSetMasks; ULONG DefaultThreadpoolCpuSetMaskCount; ULONG DefaultThreadpoolThreadMaximum; } RTL_USER_PROCESS_PARAMETERS32, *PRTL_USER_PROCESS_PARAMETERS32;