100 references to IOleClientSite
System.Windows.Forms (39)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
665using ComScope<IOleClientSite> clientSite = new(null);
System\Windows\Forms\ActiveX\AxHost.cs (5)
1513((IOleClientSite.Interface)_oleSite).ShowObject(); 2151using var pClientSite = ComHelpers.TryGetComScope<IOleClientSite>(_oleSite, out HRESULT hr); 3320qaContainer.pClientSite = ComHelpers.GetComPointer<IOleClientSite>(_oleSite); 3473using var clientSite = ComHelpers.GetComScope<IOleClientSite>(_oleSite); 3482using var clientSite = ComHelpers.GetComScope<IOleClientSite>(_oleSite);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (8)
21IOleClientSite.Interface, 29IManagedWrapper<IDispatch, IDispatchEx, IOleControlSite, IOleClientSite, IOleWindow, IOleInPlaceSite, ISimpleFrameSite, IVBGetControl, IGetVBAObject, IPropertyNotifySink> 255HRESULT IOleClientSite.Interface.SaveObject() => HRESULT.E_NOTIMPL; 257HRESULT IOleClientSite.Interface.GetMoniker(uint dwAssign, uint dwWhichMoniker, IMoniker** ppmk) 268HRESULT IOleClientSite.Interface.GetContainer(IOleContainer** ppContainer) 279HRESULT IOleClientSite.Interface.ShowObject() 326HRESULT IOleClientSite.Interface.OnShowWindow(BOOL fShow) => HRESULT.S_OK; 328HRESULT IOleClientSite.Interface.RequestNewObjectLayout() => HRESULT.E_NOTIMPL;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (7)
128private AgileComPointer<IOleClientSite>? _clientSite; 331/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND, RECT*)"/> 335IOleClientSite* pActiveSite, 608/// <inheritdoc cref="IOleObject.GetClientSite(IOleClientSite**)"/> 609internal ComScope<IOleClientSite> GetClientSite() => _clientSite is null ? default : _clientSite.GetInterface(); 1630/// <inheritdoc cref="IOleObject.SetClientSite(IOleClientSite*)"/> 1631internal void SetClientSite(IOleClientSite* value)
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (2)
14private readonly AgileComPointer<IOleClientSite> _clientSite; 18internal AxSourcingSite(IComponent component, AgileComPointer<IOleClientSite> clientSite, string? name)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (6)
143/// <inheritdoc cref="IOleObject.SetClientSite(IOleClientSite*)"/> 144HRESULT IOleObject.Interface.SetClientSite(IOleClientSite* pClientSite) 150/// <inheritdoc cref="IOleObject.GetClientSite(IOleClientSite**)"/> 151HRESULT IOleObject.Interface.GetClientSite(IOleClientSite** ppClientSite) 205/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*, IOleClientSite*, int, HWND, RECT*)"/> 209IOleClientSite* pActiveSite,
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
672using var clientSite = ComHelpers.GetComScope<IOleClientSite>(ActiveXSite); 902_axOleObject!.SetClientSite(ComHelpers.GetComPointer<IOleClientSite>(ActiveXSite));
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
106IOleClientSite* clientSite;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (7)
27IOleClientSite.Interface, 159HRESULT IOleClientSite.Interface.SaveObject() => HRESULT.E_NOTIMPL; 161HRESULT IOleClientSite.Interface.GetMoniker(uint dwAssign, uint dwWhichMoniker, IMoniker** ppmk) 172HRESULT IOleClientSite.Interface.GetContainer(IOleContainer** ppContainer) 183HRESULT IOleClientSite.Interface.ShowObject() 209HRESULT IOleClientSite.Interface.OnShowWindow(BOOL fShow) => HRESULT.S_OK; 211HRESULT IOleClientSite.Interface.RequestNewObjectLayout() => HRESULT.E_NOTIMPL;
System.Windows.Forms.Primitives (61)
Windows.Win32.IOleClientSite.g.cs (35)
26 :IVTable<IOleClientSite,IOleClientSite.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IOleClientSite*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint>)lpVtbl[1])((IOleClientSite*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint>)lpVtbl[2])((IOleClientSite*)Unsafe.AsPointer(ref this)); 58 private static winmdroot.Foundation.HRESULT SaveObject(IOleClientSite* pThis) 86 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 92 private static winmdroot.Foundation.HRESULT GetMoniker(IOleClientSite* pThis, uint dwAssign, uint dwWhichMoniker, winmdroot.System.Com.IMoniker** ppmk) 123 ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint ,uint ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleClientSite*)Unsafe.AsPointer(ref this), dwAssign, dwWhichMoniker, ppmk).ThrowOnFailure(); 129 private static winmdroot.Foundation.HRESULT GetContainer(IOleClientSite* pThis, 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(); 164 private static winmdroot.Foundation.HRESULT ShowObject(IOleClientSite* pThis) 192 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 198 private static winmdroot.Foundation.HRESULT OnShowWindow(IOleClientSite* pThis, winmdroot.Foundation.BOOL fShow) 221 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleClientSite*)Unsafe.AsPointer(ref this), fShow).ThrowOnFailure(); 227 private static winmdroot.Foundation.HRESULT RequestNewObjectLayout(IOleClientSite* pThis) 252 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 276 internal delegate *unmanaged [Stdcall]<IOleClientSite*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 278 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint> AddRef_2; 280 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint> Release_3; 282 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> SaveObject_4; 284 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint ,uint ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> GetMoniker_5; 286 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT> GetContainer_6; 288 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> ShowObject_7; 290 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> OnShowWindow_8; 292 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> RequestNewObjectLayout_9;
Windows.Win32.IOleObject.g.cs (17)
58 private static winmdroot.Foundation.HRESULT SetClientSite(IOleObject* pThis, winmdroot.System.Ole.IOleClientSite* pClientSite) 85 public unsafe winmdroot.Foundation.HRESULT SetClientSite(winmdroot.System.Ole.IOleClientSite* pClientSite) 87 return ((delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleObject*)Unsafe.AsPointer(ref this), pClientSite); 93 private static winmdroot.Foundation.HRESULT GetClientSite(IOleObject* pThis, winmdroot.System.Ole.IOleClientSite** ppClientSite) 117 public unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** ppClientSite) 119 return ((delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleObject*)Unsafe.AsPointer(ref this), ppClientSite); 352 /// <inheritdoc cref="DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 353 internal unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, in winmdroot.UI.WindowsAndMessaging.MSG lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, in winmdroot.Foundation.RECT lprcPosRect) 368 private static winmdroot.Foundation.HRESULT DoVerb(IOleObject* pThis, int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect) 401 public unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect) 403 return ((delegate *unmanaged [Stdcall]<IOleObject*,int ,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.System.Ole.IOleClientSite* ,int ,winmdroot.Foundation.HWND ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IOleObject*)Unsafe.AsPointer(ref this), iVerb, lpmsg, pActiveSite, lindex, hwndParent, lprcPosRect); 907 internal delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite* ,winmdroot.Foundation.HRESULT> SetClientSite_4; 909 internal delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT> GetClientSite_5; 923 internal delegate *unmanaged [Stdcall]<IOleObject*,int ,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.System.Ole.IOleClientSite* ,int ,winmdroot.Foundation.HWND ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT> DoVerb_12; 994 unsafe winmdroot.Foundation.HRESULT SetClientSite(winmdroot.System.Ole.IOleClientSite* pClientSite); 997 unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** ppClientSite); 1018 unsafe winmdroot.Foundation.HRESULT DoVerb(int iVerb, winmdroot.UI.WindowsAndMessaging.MSG* lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, winmdroot.Foundation.RECT* lprcPosRect);
Windows.Win32.IRichEditOle.g.cs (5)
58 private static winmdroot.Foundation.HRESULT GetClientSite(IRichEditOle* pThis, winmdroot.System.Ole.IOleClientSite** lplpolesite) 86 public unsafe void GetClientSite(winmdroot.System.Ole.IOleClientSite** lplpolesite) 88 ((delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IRichEditOle*)Unsafe.AsPointer(ref this), lplpolesite).ThrowOnFailure(); 754 internal delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT> GetClientSite_4; 826 unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** lplpolesite);
Windows.Win32.QACONTAINER.g.cs (1)
31 internal unsafe winmdroot.System.Ole.IOleClientSite* pClientSite;
Windows.Win32.REOBJECT.g.cs (1)
61 internal unsafe winmdroot.System.Ole.IOleClientSite* polesite;
Windows.Win32.System_Ole_IOleObject_Extensions.g.cs (2)
36 /// <inheritdoc cref="winmdroot.System.Ole.IOleObject.Interface.DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT DoVerb(this winmdroot.System.Ole.IOleObject.Interface @this, int iVerb, in winmdroot.UI.WindowsAndMessaging.MSG lpmsg, winmdroot.System.Ole.IOleClientSite* pActiveSite, int lindex, winmdroot.Foundation.HWND hwndParent, in winmdroot.Foundation.RECT lprcPosRect)