Author: gadamopoulos
Date: Tue Nov 29 15:44:19 2016
New Revision: 73406
URL:
http://svn.reactos.org/svn/reactos?rev=73406&view=rev
Log:
[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag (needs
tests). CORE-11488 (and all its duplicates)
Modified:
trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefault…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Tue Nov 29
15:44:19 2016
@@ -672,6 +672,9 @@
qcminfo.pIdMap = NULL;
_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)