1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-23 23:21:08 +01:00

Taskbar11: Fixed a bug that crashed explorer.exe when right clicking the taskbar on OS builds 22621.2134 and newer

This commit is contained in:
Valentin Radu 2023-09-23 03:42:41 +03:00
parent 5f2b545748
commit fe78dcaa24

View File

@ -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);