From fe78dcaa24b26f4f78702664c25a25a41149e3eb Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sat, 23 Sep 2023 03:42:41 +0300 Subject: [PATCH] Taskbar11: Fixed a bug that crashed `explorer.exe` when right clicking the taskbar on OS builds 22621.2134 and newer --- ExplorerPatcher/dllmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 3e97fed..38afca5 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -2500,6 +2500,7 @@ INT64 Shell_TrayWndSubclassProc( { int offset = 656; if (IsWindows11Version22H2OrHigher()) offset = 640; + if (IsWindows11Version22H2Build2134OrHigher()) offset = 648; if ((*(unsigned __int8(__fastcall**)(INT64))(**(INT64**)(TrayUIInstance + offset) + 104i64))(*(INT64*)(TrayUIInstance + offset))) { DeleteMenu(hSubMenu, 0x1A0u, 0);