Share via


CSnapInItemImpl::Command

This method implements the Win32 function IExtendContextMenu::Command.

Command( 
   long lCommandID, 
   DATA_OBJECT_TYPES type  
);

Parameters

  • lCommandID
    [in] Specifies the command identifier of the menu item.

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

    • CCT_SCOPE   Data object for scope pane context.

    • CCT_RESULT   Data object for result pane context.

    • CCT_SNAPIN_MANAGER   Data object for snap-in manager context.

    • CCT_UNINITIALIZED   Data object has an invalid type.

Requirements

Header: atlsnap.h

See Also

Reference

CSnapInItemImpl Class