Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IContextMenuProvider::EmptyMenuList method

The IContextMenuProvider::EmptyMenuList method clears a context menu.

Syntax


HRESULT EmptyMenuList();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

S_OK

The context menu was cleared.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

DLL

Mmcndmgr.dll

See also

IContextMenuProvider

 

 

Show: