29 references to IConnectionPointContainer
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.ConnectionPointCookie.cs (1)
25if (source is not IConnectionPointContainer.Interface cpc)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1417using var container = ComHelpers.TryGetComScope<IConnectionPointContainer>(_control, out HRESULT hr);
System.Windows.Forms.Primitives (26)
Windows.Win32.IConnectionPoint.g.cs (5)
103 private static winmdroot.Foundation.HRESULT GetConnectionPointContainer(IConnectionPoint* pThis, winmdroot.System.Com.IConnectionPointContainer** ppCPC) 130 public unsafe winmdroot.Foundation.HRESULT GetConnectionPointContainer(winmdroot.System.Com.IConnectionPointContainer** ppCPC) 132 return ((delegate *unmanaged [Stdcall]<IConnectionPoint*,winmdroot.System.Com.IConnectionPointContainer** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IConnectionPoint*)Unsafe.AsPointer(ref this), ppCPC); 274 internal delegate *unmanaged [Stdcall]<IConnectionPoint*,winmdroot.System.Com.IConnectionPointContainer** ,winmdroot.Foundation.HRESULT> GetConnectionPointContainer_5; 314 unsafe winmdroot.Foundation.HRESULT GetConnectionPointContainer(winmdroot.System.Com.IConnectionPointContainer** ppCPC);
Windows.Win32.IConnectionPointContainer.g.cs (19)
26 :IVTable<IConnectionPointContainer,IConnectionPointContainer.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IConnectionPointContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IConnectionPointContainer*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IConnectionPointContainer*,uint>)lpVtbl[1])((IConnectionPointContainer*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IConnectionPointContainer*,uint>)lpVtbl[2])((IConnectionPointContainer*)Unsafe.AsPointer(ref this)); 58 private static winmdroot.Foundation.HRESULT EnumConnectionPoints(IConnectionPointContainer* pThis, winmdroot.System.Com.IEnumConnectionPoints** ppEnum) 87 return ((delegate *unmanaged [Stdcall]<IConnectionPointContainer*,winmdroot.System.Com.IEnumConnectionPoints** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IConnectionPointContainer*)Unsafe.AsPointer(ref this), ppEnum); 103 private static winmdroot.Foundation.HRESULT FindConnectionPoint(IConnectionPointContainer* pThis, global::System.Guid* riid, winmdroot.System.Com.IConnectionPoint** ppCP) 133 return ((delegate *unmanaged [Stdcall]<IConnectionPointContainer*,global::System.Guid* ,winmdroot.System.Com.IConnectionPoint** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IConnectionPointContainer*)Unsafe.AsPointer(ref this), riid, ppCP); 157 internal delegate *unmanaged [Stdcall]<IConnectionPointContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 159 internal delegate *unmanaged [Stdcall]<IConnectionPointContainer*,uint> AddRef_2; 161 internal delegate *unmanaged [Stdcall]<IConnectionPointContainer*,uint> Release_3; 163 internal delegate *unmanaged [Stdcall]<IConnectionPointContainer*,winmdroot.System.Com.IEnumConnectionPoints** ,winmdroot.Foundation.HRESULT> EnumConnectionPoints_4; 165 internal delegate *unmanaged [Stdcall]<IConnectionPointContainer*,global::System.Guid* ,winmdroot.System.Com.IConnectionPoint** ,winmdroot.Foundation.HRESULT> FindConnectionPoint_5;
Windows.Win32.System_Com_IConnectionPointContainer_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.System.Com.IConnectionPointContainer.Interface.FindConnectionPoint(global::System.Guid*, winmdroot.System.Com.IConnectionPoint**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT FindConnectionPoint(this winmdroot.System.Com.IConnectionPointContainer.Interface @this, in global::System.Guid riid, winmdroot.System.Com.IConnectionPoint** ppCP)
System.Windows.Forms.Tests (1)
System\Windows\Forms\AxHost.ConnectionPointCookieTests.cs (1)
55[InlineData(typeof(IConnectionPointContainer.Interface))]