CSnapInItemImpl::AddMenuItems

AddMenuItems( LPCONTEXTMENUCALLBACK piCallback, long *pInsertionAllowed, DATA_OBJECT_TYPES type );

Parameters

piCallback

[in] Pointer to the IContextMenuCallback that can add items to the context menu.

pInsertionAllowed

[in, out] Identifies MMC-defined, menu-item insertion points that can be used. This can be a combination of the following flags:

type

[in] Specifies the type of object. It can have one of the following values:

Remarks

This method implements the Win32 function IExtendContextMenu::AddMenuItems.

CSnapInItemImpl OverviewClass Members