IEnumConnections interface (ocidl.h)

Enumerates the current connections for a connectable object.

Inheritance

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

Methods

The IEnumConnections interface has these methods.

 
IEnumConnections::Clone

Creates a new enumerator that contains the same enumeration state as the current one. (IEnumConnections.Clone)
IEnumConnections::Next

Retrieves the specified number of items in the enumeration sequence. (IEnumConnections.Next)
IEnumConnections::Reset

Resets the enumeration sequence to the beginning. (IEnumConnections.Reset)
IEnumConnections::Skip

Skips over the specified number of items in the enumeration sequence. (IEnumConnections.Skip)

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

See also

IConnectionPoint

IConnectionPointContainer

IEnumConnectionPoints