From 9bf854455c2f6f7681c4ea18c61aac718c207bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 31 Jan 2026 18:36:06 +0100 Subject: [PATCH] [SDK:XDK] extypes.h: Update WORK_QUEUE_TYPE with Win8+ values (#8651) --- sdk/include/xdk/extypes.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sdk/include/xdk/extypes.h b/sdk/include/xdk/extypes.h index a5311330872..3563b93adb9 100644 --- a/sdk/include/xdk/extypes.h +++ b/sdk/include/xdk/extypes.h @@ -185,11 +185,20 @@ typedef struct _EX_RUNDOWN_REF { typedef struct _EX_RUNDOWN_REF_CACHE_AWARE *PEX_RUNDOWN_REF_CACHE_AWARE; -typedef enum _WORK_QUEUE_TYPE { +typedef _Enum_is_bitflag_ enum _WORK_QUEUE_TYPE { CriticalWorkQueue, DelayedWorkQueue, HyperCriticalWorkQueue, - MaximumWorkQueue +#if (NTDDI_VERSION >= NTDDI_WIN8) + NormalWorkQueue, + BackgroundWorkQueue, + RealTimeWorkQueue, + SuperCriticalWorkQueue, +#endif + MaximumWorkQueue, +#if (NTDDI_VERSION >= NTDDI_WIN8) + CustomPriorityWorkQueue = 32 +#endif } WORK_QUEUE_TYPE; _IRQL_requires_same_