[NETSHELL] Handle DefView accelerators (#7572)

CORE-18750
This commit is contained in:
Whindmar Saksit 2024-12-22 21:27:20 +01:00 committed by GitHub
parent cc3672cb73
commit 0743faf2e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -641,6 +641,14 @@ HRESULT WINAPI CNetConUiObject::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
{ {
CmdId = IDS_NET_PROPERTIES; 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) else if (!IS_INTRESOURCE(lpcmi->lpVerb) || LOWORD(lpcmi->lpVerb) > 7)
{ {
FIXME("Got invalid command\n"); FIXME("Got invalid command\n");