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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user