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
Returns
EnumConnections(out nint)
Creates an enumerator of the connections (IEnumConnections), which must be released by the caller.
int EnumConnections(out nint ppEnum)
Parameters
ppEnumnint
Returns
GetConnectionInterface(out Guid)
Gets the identifier of the event interface.
int GetConnectionInterface(out Guid pIID)
Parameters
pIIDGuid
Returns
GetConnectionPointContainer(out nint)
Gets the connection point container (IConnectionPointContainer), which must be released by the caller.
int GetConnectionPointContainer(out nint ppCPC)
Parameters
ppCPCnint
Returns
Unadvise(uint)
Disconnects the sink identified by the cookie.
int Unadvise(uint dwCookie)
Parameters
dwCookieuint