IContextMenuCallback2 interface (mmc.h)

The IContextMenuCallback2 interface is used to add menu items to a context menu. This interface supersedes IContextMenuCallback.

Inheritance

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

Methods

The IContextMenuCallback2 interface has these methods.

 
IContextMenuCallback2::AddItem

The IContextMenuCallback2::AddItem method adds a single item to a context menu.

Requirements

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