[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag (needs tests). CORE-11488 (and all its duplicates)

svn path=/trunk/; revision=73406
This commit is contained in:
Giannis Adamopoulos 2016-11-29 15:44:19 +00:00
parent 99548a5a34
commit 29310d6f92

View file

@ -673,6 +673,9 @@ CDefaultContextMenu::QueryContextMenu(
_DoCallback(DFM_MERGECONTEXTMENU, uFlags, &qcminfo);
IndexMenu = GetMenuItemCount(hMenu);
if (uFlags & CMF_VERBSONLY)
return S_OK;
/* If this is a background context menu we are done */
if (!m_cidl)
return S_OK;