Поделиться через


CSnapInItemImpl::Command

This method implements the Win32 function IExtendContextMenu::Command.

Command(
   long lCommandID,
      DATA_OBJECT_TYPES type 
);

Параметры

  • 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.

Требования

Header: atlsnap.h

См. также

Основные понятия

CSnapInItemImpl Class

CSnapInItemImpl Members