[This is preliminary documentation and subject to change.]
AddPrimaryExtensionItems enables one specific extension to add items to the insertion points defined for this context menu.
HRESULT AddPrimaryExtensionItems(
LPUNKNOWN piExtension, // Pointer to an IUnknown interface
LPDATAOBJECT piDataObject // Pointer to a data object
);
Other values can be returned, depending on the implementation of IExtendContextMenu::AddMenuItems by the specified snap-in.
IContextMenuCallback, IContextMenuProvider, IExtendContextMenu