IConnectionPoint class com

Supports connection points for connectable objects.

To learn more, see learn.microsoft.com/windows/win32/api/ocidl/nn-ocidl-iconnectionpoint.

Inheritance
Implemented types

Constructors

IConnectionPoint(VTablePointer ptr)
Creates a new instance of IConnectionPoint from a VTablePointer.
IConnectionPoint.from(IUnknown interface)
Creates a new instance of IConnectionPoint from an existing interface.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
ptr → VTablePointer
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() → int
Increments the reference count of this COM object.
inherited
advise(IUnknown? pUnkSink) → int
Establishes a connection between a connection point object and the client's sink.
enumConnections() → IEnumConnections?
Creates an enumerator object to iterate through the current connections for this connection point.
getConnectionInterface() → Pointer<GUID>
Retrieves the IID of the outgoing interface managed by this connection point.
getConnectionPointContainer() → IConnectionPointContainer?
Retrieves the IConnectionPointContainer interface pointer for the parent connectable object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface<T extends IUnknown>() → T
Queries this COM object for a specific interface defined by the type parameter T.
inherited
release() → int
Decrements the reference count of this COM object.
inherited
toString() → String
A string representation of this object.
override
unadvise(int dwCookie) → void
Terminates an advisory connection previously established between a connection point object and a client's sink.

Operators

operator ==(Object other) → bool
The equality operator.
inherited