mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:03:13 +00:00
[SHELL32] Implement SHBrowseForFolder items contextmenu (#6952)
* [SHELL32] Implement SHBrowseForFolder items contextmenu CORE-16944 CORE-19597
This commit is contained in:
parent
6d7648d723
commit
3da9e7e251
41 changed files with 250 additions and 0 deletions
|
@ -80,6 +80,16 @@ static const struct _StaticInvokeCommandMap_
|
|||
{ "moveto", FCIDM_SHVIEW_MOVETO },
|
||||
};
|
||||
|
||||
UINT MapVerbToDfmCmd(_In_ LPCSTR verba)
|
||||
{
|
||||
for (UINT i = 0; i < _countof(g_StaticInvokeCmdMap); ++i)
|
||||
{
|
||||
if (!lstrcmpiA(g_StaticInvokeCmdMap[i].szStringVerb, verba))
|
||||
return (int)g_StaticInvokeCmdMap[i].DfmCmd;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
class CDefaultContextMenu :
|
||||
public CComObjectRootEx<CComMultiThreadModelNoCS>,
|
||||
public IContextMenu3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue