COM_INTERFACE_ENTRY (ATL)

Enters interfaces into the COM interface map.

COM_INTERFACE_ENTRY( x )

Parameters

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

Remarks

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

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

Example

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

Requirements

Header: atlcom.h

See Also

Other Resources

COM Map Macros

ATL Macros