mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 01:40:36 +00:00
[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:
parent
99548a5a34
commit
29310d6f92
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue