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)
Windows.Win32.IOleClientSite.g.cs (5)
129 private static winmdroot.Foundation.HRESULT GetContainer(IOleClientSite* pThis, winmdroot.System.Ole.IOleContainer** ppContainer) 156 public unsafe void GetContainer(winmdroot.System.Ole.IOleContainer** ppContainer) 158 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleClientSite*)Unsafe.AsPointer(ref this), ppContainer).ThrowOnFailure(); 286 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT> GetContainer_6; 330 unsafe winmdroot.Foundation.HRESULT GetContainer(winmdroot.System.Ole.IOleContainer** ppContainer);
Windows.Win32.IOleContainer.g.cs (23)
26 :IVTable<IOleContainer,IOleContainer.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IOleContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IOleContainer*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IOleContainer*,uint>)lpVtbl[1])((IOleContainer*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IOleContainer*,uint>)lpVtbl[2])((IOleContainer*)Unsafe.AsPointer(ref this)); 67 private static winmdroot.Foundation.HRESULT ParseDisplayName(IOleContainer* pThis, winmdroot.System.Com.IBindCtx* pbc, winmdroot.Foundation.PWSTR pszDisplayName, uint* pchEaten, winmdroot.System.Com.IMoniker** ppmkOut) 86 ((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(); 92 private static winmdroot.Foundation.HRESULT EnumObjects(IOleContainer* pThis, uint grfFlags, winmdroot.System.Com.IEnumUnknown** ppenum) 119 ((delegate *unmanaged [Stdcall]<IOleContainer*,uint ,winmdroot.System.Com.IEnumUnknown** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleContainer*)Unsafe.AsPointer(ref this), grfFlags, ppenum).ThrowOnFailure(); 125 private static winmdroot.Foundation.HRESULT LockContainer(IOleContainer* pThis, winmdroot.Foundation.BOOL fLock) 151 ((delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IOleContainer*)Unsafe.AsPointer(ref this), fLock).ThrowOnFailure(); 175 internal delegate *unmanaged [Stdcall]<IOleContainer*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 177 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint> AddRef_2; 179 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint> Release_3; 181 internal delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.System.Com.IBindCtx* ,winmdroot.Foundation.PWSTR ,uint* ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> ParseDisplayName_4; 183 internal delegate *unmanaged [Stdcall]<IOleContainer*,uint ,winmdroot.System.Com.IEnumUnknown** ,winmdroot.Foundation.HRESULT> EnumObjects_5; 185 internal delegate *unmanaged [Stdcall]<IOleContainer*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> LockContainer_6;
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)