[SHELL32] - CDefaultContextMenu::QueryContextMenu : Implement CMF_VERBSONLY flag...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 29 Nov 2016 15:44:19 +0000 (15:44 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 29 Nov 2016 15:44:19 +0000 (15:44 +0000)
svn path=/trunk/; revision=73406

reactos/dll/win32/shell32/CDefaultContextMenu.cpp

index 1483ee6..59f4cfc 100644 (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;