COM_INTERFACE_ENTRY_IID

COM_INTERFACE_ENTRY_IID( iid, x )

Parameters

iid

[in] The GUID of the interface exposed.

x

[in] The name of the class whose vtable will be exposed as the interface identified by iid.

Remarks

Use this macro to enter the interface into the COM map and specify its IID.

For example:

BEGIN_COM_MAP(CThisExample)
   COM_INTERFACE_ENTRY_IID(*piid, CThisExample)
   COM_INTERFACE_ENTRY(IDispatch)
   COM_INTERFACE_ENTRY(IBaseThisExample)
   COM_INTERFACE_ENTRY(ISupportErrorInfo)
END_COM_MAP()

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

ATL Macros and Global Functions