IContextMenuProvider::AddThirdPartyExtensionItems method (mmc.h)

The IContextMenuProvider::AddThirdPartyExtensionItems method enables third-party extensions to add items at specified insertion points in this context menu. MMC checks its list of snap-ins registered to extend objects of this node type and offers each (if there are any) the opportunity to extend the context menu by calling IExtendContextMenu::AddMenuItems.

Syntax

HRESULT AddThirdPartyExtensionItems(
  [in] LPDATAOBJECT piDataObject
);

Parameters

[in] piDataObject

A pointer to the IDataObject interface on the object whose menu is extended.

Return value

This method can return one of these values.

Requirements

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

See also

IContextMenuCallback

IContextMenuProvider

IExtendContextMenu