CONNECTION_POINT_ENTRY
CONNECTION_POINT_ENTRY( iid )
Parameters
iid
[in] The GUID of the interface being added to the connection point map.
Remarks
Enters a connection point for the specified interface into the connection point map so that it can be accessed. Connection point entries in the map are used by IConnectionPointContainerImpl. The class containing the connection point map must inherit from IConnectionPointContainerImpl. For example:
class CMyCPClass :
public IConnectionPointContainerImpl,
public IPropertyNotifySinkImpl<CMyCPClass>
{
public:
...
BEGIN_CONNECTION_POINT_MAP(CMyCPClass)
CONNECTION_POINT_ENTRY(IID_IPropertyNotifySink)
END_CONNECTION_POINT_MAP( )
...
};
Start your connection point map with the BEGIN_CONNECTION_POINT_MAP macro, add entries for each of your connection points with the CONNECTION_POINT_ENTRY macro, and complete the map with the END_CONNECTION_POINT_MAP macro.
For more information about connection points in ATL, see the article Connection Points.