https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0743faf2e322071416d75…
commit 0743faf2e322071416d756ddac72ffdb0f3e31eb
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Sun Dec 22 21:27:20 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Dec 22 21:27:20 2024 +0100
[NETSHELL] Handle DefView accelerators (#7572)
CORE-18750
---
dll/shellext/netshell/shfldr_netconnect.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dll/shellext/netshell/shfldr_netconnect.cpp
b/dll/shellext/netshell/shfldr_netconnect.cpp
index 3c14b9672e9..f7358065054 100644
--- a/dll/shellext/netshell/shfldr_netconnect.cpp
+++ b/dll/shellext/netshell/shfldr_netconnect.cpp
@@ -641,6 +641,14 @@ HRESULT WINAPI CNetConUiObject::InvokeCommand(LPCMINVOKECOMMANDINFO
lpcmi)
{
CmdId = IDS_NET_PROPERTIES;
}
+ else if ((UINT_PTR)lpcmi->lpVerb == FCIDM_SHVIEW_RENAME) // DefView accelerator
+ {
+ CmdId = IDS_NET_RENAME;
+ }
+ else if ((UINT_PTR)lpcmi->lpVerb == FCIDM_SHVIEW_PROPERTIES) // DefView
accelerator
+ {
+ CmdId = IDS_NET_PROPERTIES;
+ }
else if (!IS_INTRESOURCE(lpcmi->lpVerb) || LOWORD(lpcmi->lpVerb) > 7)
{
FIXME("Got invalid command\n");