IConnectionPointContainer interface (ocidl.h)

Supports connection points for connectable objects.

Inheritance

The IConnectionPointContainer interface inherits from the IUnknown interface. IConnectionPointContainer also has these types of members:

Methods

The IConnectionPointContainer interface has these methods.

 
IConnectionPointContainer::EnumConnectionPoints

Creates an enumerator object to iterate through all the connection points supported in the connectable object, one connection point per outgoing IID.
IConnectionPointContainer::FindConnectionPoint

Returns a pointer to the IConnectionPoint interface of a connection point for a specified IID, if that IID describes a supported outgoing interface.

Remarks

Connectable objects support the following features:

  • Outgoing interfaces, such as event sets
  • The ability to enumerate the IIDs of the outgoing interfaces
  • The ability to connect and disconnect sinks to the object for those outgoing IIDs
  • The ability to enumerate the connections that exist to a particular outgoing interface

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header ocidl.h

See also

IConnectionPoint

IEnumConnectionPoints

IEnumConnections