mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:42:59 +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);
|
_DoCallback(DFM_MERGECONTEXTMENU, uFlags, &qcminfo);
|
||||||
IndexMenu = GetMenuItemCount(hMenu);
|
IndexMenu = GetMenuItemCount(hMenu);
|
||||||
|
|
||||||
|
if (uFlags & CMF_VERBSONLY)
|
||||||
|
return S_OK;
|
||||||
|
|
||||||
/* If this is a background context menu we are done */
|
/* If this is a background context menu we are done */
|
||||||
if (!m_cidl)
|
if (!m_cidl)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue