IContextMenuProvider::EmptyMenuList method (mmc.h)
The IContextMenuProvider::EmptyMenuList method clears a context menu.
Syntax
HRESULT EmptyMenuList();
Return value
This method can return one of these values.
Remarks
IContextMenuProvider::ShowContextMenu automatically clears the context menu after that displays it. Nevertheless, it is a good practice to call EmptyMenuList before beginning to build a context menu.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for