IEnumConnections interface

Enumerates the current connections for a connectable object.

Methods

The IEnumConnections interface has these methods.

Method Description
IEnumConnections::Clone Creates a new enumerator that contains the same enumeration state as the current one.
IEnumConnections::Next Retrieves the specified number of items in the enumeration sequence.
IEnumConnections::Reset Resets the enumeration sequence to the beginning.
IEnumConnections::Skip Skips over the specified number of items in the enumeration sequence.

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

   
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 (include ObjIdl.h)

See Also

IConnectionPoint

IConnectionPointContainer

IEnumConnectionPoints