mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-23 23:21:08 +01:00
This commit is contained in:
parent
351a0207a4
commit
060066cd53
@ -2128,6 +2128,16 @@ INT64 Shell_TrayWndSubclassProc(
|
|||||||
{
|
{
|
||||||
LaunchPropertiesGUI(hModule);
|
LaunchPropertiesGUI(hModule);
|
||||||
}
|
}
|
||||||
|
else if (res == 420)
|
||||||
|
{
|
||||||
|
// Restore Task Manager context menu item action on 24H2+
|
||||||
|
SHELLEXECUTEINFOW sei = { sizeof(sei) };
|
||||||
|
sei.fMask = SEE_MASK_DOENVSUBST;
|
||||||
|
sei.lpFile = L"%SystemRoot%\\system32\\taskmgr.exe";
|
||||||
|
sei.lpParameters = L"/4";
|
||||||
|
sei.nShow = SW_SHOWNORMAL;
|
||||||
|
ShellExecuteExW(&sei);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PostMessageW(hWnd, WM_COMMAND, res, 0);
|
PostMessageW(hWnd, WM_COMMAND, res, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user