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


COM_INTERFACE_ENTRY (ATL)

Enters interfaces into the COM interface map.

COM_INTERFACE_ENTRY( x )

Параметры

  • x
    [in] The name of an interface your class object derives from directly.

Заметки

Typically, this is the entry type you use most often.

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

Пример

BEGIN_COM_MAP(CThisExample)
   COM_INTERFACE_ENTRY(IThisExample)
   COM_INTERFACE_ENTRY(IDispatch)
   COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()

Требования

Header: atlcom.h

См. также

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

COM Map Macros

ATL Macros