IContextMenuProvider interface (mmc.h)

The IContextMenuProvider interface implements methods that create new context menus, for the purpose of adding items to those menus, to enable extensions to extend those menus, and to display the resulting context menus.

Inheritance

The IContextMenuProvider interface inherits from the IUnknown interface. IContextMenuProvider also has these types of members:

Methods

The IContextMenuProvider interface has these methods.

 
IContextMenuProvider::AddPrimaryExtensionItems

The IContextMenuProvider::AddPrimaryExtensionItems method enables one specific extension to add items to the insertion points defined for this context menu.
IContextMenuProvider::AddThirdPartyExtensionItems

The IContextMenuProvider::AddThirdPartyExtensionItems method enables third-party extensions to add items at specified insertion points in this context menu.
IContextMenuProvider::EmptyMenuList

The IContextMenuProvider::EmptyMenuList method clears a context menu.
IContextMenuProvider::ShowContextMenu

The IContextMenuProvider::ShowContextMenu method displays a context menu.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h