Table of Contents

Interface IConnectionPoint

Namespace
CsCom.Runtime
Assembly
CsCom.Runtime.dll

The COM IConnectionPoint interface, through which the sinks of an event interface are connected.

[GeneratedComInterface]
[Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[IUnknownDerived<InterfaceInformation, InterfaceImplementation>]
public interface IConnectionPoint

Methods

Advise(nint, out uint)

Connects a sink, passed as an IUnknown pointer, and returns the cookie that identifies the connection.

int Advise(nint pUnkSink, out uint pdwCookie)

Parameters

pUnkSink nint
pdwCookie uint

Returns

int

EnumConnections(out nint)

Creates an enumerator of the connections (IEnumConnections), which must be released by the caller.

int EnumConnections(out nint ppEnum)

Parameters

ppEnum nint

Returns

int

GetConnectionInterface(out Guid)

Gets the identifier of the event interface.

int GetConnectionInterface(out Guid pIID)

Parameters

pIID Guid

Returns

int

GetConnectionPointContainer(out nint)

Gets the connection point container (IConnectionPointContainer), which must be released by the caller.

int GetConnectionPointContainer(out nint ppCPC)

Parameters

ppCPC nint

Returns

int

Unadvise(uint)

Disconnects the sink identified by the cookie.

int Unadvise(uint dwCookie)

Parameters

dwCookie uint

Returns

int