Skip to content

Commit

Permalink
Taskbar11: Fixed a bug that crashed explorer.exe when right clickin…
Browse files Browse the repository at this point in the history
…g the taskbar on OS builds 22621.2134 and newer
  • Loading branch information
valinet committed Sep 23, 2023
1 parent 5f2b545 commit fe78dca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fe78dca

Please sign in to comment.