Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |