[EXPLORER][BROWSEUI][SHLWAPI][BOOTDATA][WIN32K] Support AppKeys and more WM_APPCOMMANDs (#7879)

Implements a couple of extra commands in IShellBrowser and adds support for the AppKeys fallback registry key (used when the foreground application does not handle the command).
This commit is contained in:
Whindmar Saksit 2025-04-18 18:35:30 +02:00 committed by GitHub
parent 2e85425c53
commit 5a10ec60be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 219 additions and 61 deletions

View file

@ -1735,6 +1735,8 @@ VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
if (HwndList)
{
HWND* cursor = HwndList;
LPARAM shellhookparam = (Message == HSHELL_LANGUAGE || Message == HSHELL_APPCOMMAND)
? lParam : (LPARAM)wParam;
for (; *cursor; cursor++)
{
@ -1742,11 +1744,11 @@ VOID co_IntShellHookNotify(WPARAM Message, WPARAM wParam, LPARAM lParam)
UserPostMessage(*cursor,
gpsi->uiShellMsg,
Message,
(Message == HSHELL_LANGUAGE ? lParam : (LPARAM)wParam) );
shellhookparam);
/* co_IntPostOrSendMessage(*cursor,
gpsi->uiShellMsg,
Message,
(Message == HSHELL_LANGUAGE ? lParam : (LPARAM)wParam) );*/
shellhookparam);*/
}
ExFreePoolWithTag(HwndList, USERTAG_WINDOWLIST);