mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[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:
parent
2e85425c53
commit
5a10ec60be
13 changed files with 219 additions and 61 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue