IConnectionPoint interface (ocidl.h)

Supports connection points for connectable objects.

Inheritance

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

Methods

The IConnectionPoint interface has these methods.

 
IConnectionPoint::Advise

Establishes a connection between a connection point object and the client's sink.
IConnectionPoint::EnumConnections

Creates an enumerator object to iterate through the current connections for this connection point.
IConnectionPoint::GetConnectionInterface

Retrieves the IID of the outgoing interface managed by this connection point.
IConnectionPoint::GetConnectionPointContainer

Retrieves the IConnectionPointContainer interface pointer for the parent connectable object.
IConnectionPoint::Unadvise

Terminates an advisory connection previously established between a connection point object and a client's sink.

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

IConnectionPointContainer

IEnumConnectionPoints

IEnumConnections