Processes the COM map of the base class when the processing reaches this entry in the COM map.
[in] A base class of the current object.
For example, in the following code:
BEGIN_COM_MAP(COuter) ...COM_INTERFACE_ENTRY2(IDispatch, IOuter) ... COM_INTERFACE_ENTRY_CHAIN(CChainBase) ... END_COM_MAP()
Note that the first entry in the COM map must be an interface on the object containing the COM map. Thus, you cannot start your COM map entries with COM_INTERFACE_ENTRY_CHAIN, which causes the COM map of a different object to be searched at the point where COM_INTERFACE_ENTRY_CHAIN(COtherObject) appears in your object's COM map. If you want to search the COM map of another object first, add an interface entry for IUnknown to your COM map, then chain the other object's COM map. For example:
BEGIN_COM_MAP(CThisObject) COM_INTERFACE_ENTRY(IUnknown) COM_INTERFACE_ENTRY_CHAIN(COtherObject) END_COM_MAP( )
See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.