46 references to IOleContainer
System.Windows.Forms (16)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (6)
16IOleContainer.Interface, 20IManagedWrapper<IOleContainer, IOleInPlaceFrame, IOleInPlaceUIWindow, IOleWindow, IDispatch, IDispatchEx> 557=> ((IOleContainer.Interface)this).ParseDisplayName(pbc, pszDisplayName, pchEaten, ppmkOut); 560HRESULT IOleContainer.Interface.ParseDisplayName( 574HRESULT IOleContainer.Interface.EnumObjects(uint grfFlags, IEnumUnknown** ppenum) 605HRESULT IOleContainer.Interface.LockContainer(BOOL fLock) => HRESULT.E_NOTIMPL;
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (2)
268HRESULT IOleClientSite.Interface.GetContainer(IOleContainer** ppContainer) 275*ppContainer = ComHelpers.GetComPointer<IOleContainer>(_host.GetParentContainer());
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (1)
40using ComScope<IOleContainer> container = new(null);
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (5)
11internal unsafe class WebBrowserContainer : IOleContainer.Interface, IOleInPlaceFrame.Interface, IOleInPlaceUIWindow.Interface, IOleWindow.Interface 28((IOleContainer.Interface)this).ParseDisplayName(pbc, pszDisplayName, pchEaten, ppmkOut); 31HRESULT IOleContainer.Interface.ParseDisplayName(IBindCtx* pbc, PWSTR pszDisplayName, uint* pchEaten, IMoniker** ppmkOut) 41HRESULT IOleContainer.Interface.EnumObjects(uint grfFlags, IEnumUnknown** ppenum) 66HRESULT IOleContainer.Interface.LockContainer(BOOL fLock) => HRESULT.E_NOTIMPL;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (2)
172HRESULT IOleClientSite.Interface.GetContainer(IOleContainer** ppContainer) 179*ppContainer = ComHelpers.GetComPointer<IOleContainer>(Host.GetParentContainer());
System.Windows.Forms.Primitives (30)
_generated\199\Windows.Win32.IOleClientSite.g.cs (5)
131 private static winmdroot.Foundation.HRESULT GetContainer(IOleClientSite* pThis, winmdroot.System.Ole.IOleContainer** ppContainer) 158 public unsafe void GetContainer(winmdroot.System.Ole.IOleContainer** ppContainer) 160 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleClientSite*)Unsafe.AsPointer(ref this), ppContainer).ThrowOnFailure(); 290 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT> GetContainer_6; 334 unsafe winmdroot.Foundation.HRESULT GetContainer(winmdroot.System.Ole.IOleContainer** ppContainer);
_generated\201\Windows.Win32.IOleContainer.g.cs (23)
27 :winmdroot.IVTable<IOleContainer,IOleContainer.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<IOleContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IOleContainer*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<IOleContainer*,uint>)lpVtbl[1])((IOleContainer*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<IOleContainer*,uint>)lpVtbl[2])((IOleContainer*)Unsafe.AsPointer(ref this)); 70 private static winmdroot.Foundation.HRESULT ParseDisplayName(IOleContainer* pThis, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, uint* pchEaten, winmdroot.System.Com.IMoniker** ppmkOut) 89 ((delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.System.Com.IBindCtx* ,winmdroot.Foundation.PWSTR ,uint* ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleContainer*)Unsafe.AsPointer(ref this), pbc, pszDisplayName, pchEaten, ppmkOut).ThrowOnFailure(); 95 private static winmdroot.Foundation.HRESULT EnumObjects(IOleContainer* pThis, uint grfFlags, winmdroot.System.Com.IEnumUnknown** ppenum) 122 ((delegate *unmanaged [Stdcall]<IOleContainer*,uint ,winmdroot.System.Com.IEnumUnknown** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleContainer*)Unsafe.AsPointer(ref this), grfFlags, ppenum).ThrowOnFailure(); 128 private static winmdroot.Foundation.HRESULT LockContainer(IOleContainer* pThis, winmdroot.Foundation.BOOL fLock) 154 ((delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleContainer*)Unsafe.AsPointer(ref this), fLock).ThrowOnFailure(); 180 internal delegate *unmanaged [Stdcall]<IOleContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 182 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint> AddRef_2; 184 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint> Release_3; 186 internal delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.System.Com.IBindCtx* ,winmdroot.Foundation.PWSTR ,uint* ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> ParseDisplayName_4; 188 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint ,winmdroot.System.Com.IEnumUnknown** ,winmdroot.Foundation.HRESULT> EnumObjects_5; 190 internal delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> LockContainer_6;
_generated\498\Windows.Win32.System_Ole_IOleContainer_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.System.Ole.IOleContainer.Interface.ParseDisplayName(winmdroot.System.Com.IBindCtx*, winmdroot.Foundation.PWSTR, uint*, winmdroot.System.Com.IMoniker**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT ParseDisplayName(this winmdroot.System.Ole.IOleContainer.Interface @this, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, out uint pchEaten, winmdroot.System.Com.IMoniker** ppmkOut)