[This is preliminary documentation and subject to change.]
Clears a context menu.
HRESULT EmptyMenuList( )
This method has no parameters.
IContextMenuProvider::ShowContextMenu automatically clears the context menu after displaying it. Nevertheless, it is a good practice to call EmptyMenuList before beginning to build a context menu.