Class ConnectionPoint

All Implemented Interfaces:
NativeMapped, IConnectionPoint, IUnknown

public class ConnectionPoint extends Unknown implements IConnectionPoint
  • Constructor Details

    • ConnectionPoint

      public ConnectionPoint(Pointer pointer)
  • Method Details

    • GetConnectionInterface

      public WinNT.HRESULT GetConnectionInterface(Guid.IID iid)
      Specified by:
      GetConnectionInterface in interface IConnectionPoint
      Returns:
      interface pointer
    • GetConnectionPointContainer

      void GetConnectionPointContainer()
    • Advise

      public WinNT.HRESULT Advise(IUnknownCallback pUnkSink, WinDef.DWORDByReference pdwCookie)
      Description copied from interface: IConnectionPoint
      When Advise is called, the called COM object will callback 'QueryInterface' asking for a number of different interfaces, for example: - {00000003-0000-0000-C000-000000000046} - IMarshal - {00000003-0000-0000-C000-000000000046} - {0000001B-0000-0000-C000-000000000046} - IdentityUnmarshal - {00000000-0000-0000-C000-000000000046} - IUnknown - {00000018-0000-0000-C000-000000000046} - IStdMarshalInfo - {00000019-0000-0000-C000-000000000046} - IExternalConnection - {4C1E39E1-E3E3-4296-AA86-EC938D896E92} - (some unknown private interface) - interface of this ConnectionPoint HRESULT Advise( [in] IUnknown *pUnkSink, [out] DWORD *pdwCookie );
      Specified by:
      Advise in interface IConnectionPoint
      Returns:
      status
    • Unadvise

      public WinNT.HRESULT Unadvise(WinDef.DWORD dwCookie)
      Specified by:
      Unadvise in interface IConnectionPoint
      Returns:
      status
    • EnumConnections

      void EnumConnections()