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)
1510((IOleClientSite.Interface)_oleSite).ShowObject(); 2148using var pClientSite = ComHelpers.TryGetComScope<IOleClientSite>(_oleSite, out HRESULT hr); 3317qaContainer.pClientSite = ComHelpers.GetComPointer<IOleClientSite>(_oleSite); 3470using var clientSite = ComHelpers.GetComScope<IOleClientSite>(_oleSite); 3479using 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); 896_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)
_generated\199\Windows.Win32.IOleClientSite.g.cs (35)
27 :winmdroot.IVTable<IOleClientSite,IOleClientSite.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IOleClientSite*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint>)lpVtbl[1])((IOleClientSite*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint>)lpVtbl[2])((IOleClientSite*)Unsafe.AsPointer(ref this)); 60 private static winmdroot.Foundation.HRESULT SaveObject(IOleClientSite* pThis) 88 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 94 private static winmdroot.Foundation.HRESULT GetMoniker(IOleClientSite* pThis, uint dwAssign, uint dwWhichMoniker, winmdroot.System.Com.IMoniker** ppmk) 125 ((delegate *unmanaged [Stdcall]<IOleClientSite*,uint ,uint ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleClientSite*)Unsafe.AsPointer(ref this), dwAssign, dwWhichMoniker, ppmk).ThrowOnFailure(); 131 private static winmdroot.Foundation.HRESULT GetContainer(IOleClientSite* pThis, 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(); 166 private static winmdroot.Foundation.HRESULT ShowObject(IOleClientSite* pThis) 194 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 200 private static winmdroot.Foundation.HRESULT OnShowWindow(IOleClientSite* pThis, winmdroot.Foundation.BOOL fShow) 223 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IOleClientSite*)Unsafe.AsPointer(ref this), fShow).ThrowOnFailure(); 229 private static winmdroot.Foundation.HRESULT RequestNewObjectLayout(IOleClientSite* pThis) 254 ((delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IOleClientSite*)Unsafe.AsPointer(ref this)).ThrowOnFailure(); 280 internal delegate *unmanaged [Stdcall]<IOleClientSite*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 282 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint> AddRef_2; 284 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint> Release_3; 286 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> SaveObject_4; 288 internal delegate *unmanaged [Stdcall]<IOleClientSite*,uint ,uint ,winmdroot.System.Com.IMoniker** ,winmdroot.Foundation.HRESULT> GetMoniker_5; 290 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.System.Ole.IOleContainer** ,winmdroot.Foundation.HRESULT> GetContainer_6; 292 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> ShowObject_7; 294 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> OnShowWindow_8; 296 internal delegate *unmanaged [Stdcall]<IOleClientSite*,winmdroot.Foundation.HRESULT> RequestNewObjectLayout_9;
_generated\210\Windows.Win32.IOleObject.g.cs (17)
60 private static winmdroot.Foundation.HRESULT SetClientSite(IOleObject* pThis, winmdroot.System.Ole.IOleClientSite* pClientSite) 87 public unsafe winmdroot.Foundation.HRESULT SetClientSite(winmdroot.System.Ole.IOleClientSite* pClientSite) 89 return ((delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IOleObject*)Unsafe.AsPointer(ref this), pClientSite); 95 private static winmdroot.Foundation.HRESULT GetClientSite(IOleObject* pThis, winmdroot.System.Ole.IOleClientSite** ppClientSite) 119 public unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** ppClientSite) 121 return ((delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IOleObject*)Unsafe.AsPointer(ref this), ppClientSite); 355 /// <inheritdoc cref="DoVerb(int, winmdroot.UI.WindowsAndMessaging.MSG*, winmdroot.System.Ole.IOleClientSite*, int, winmdroot.Foundation.HWND, winmdroot.Foundation.RECT*)"/> 357 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) 372 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) 405 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) 407 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); 919 internal delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite* ,winmdroot.Foundation.HRESULT> SetClientSite_4; 921 internal delegate *unmanaged [Stdcall]<IOleObject*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT> GetClientSite_5; 935 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; 1006 unsafe winmdroot.Foundation.HRESULT SetClientSite(winmdroot.System.Ole.IOleClientSite* pClientSite); 1009 unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** ppClientSite); 1030 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);
_generated\235\Windows.Win32.IRichEditOle.g.cs (5)
60 private static winmdroot.Foundation.HRESULT GetClientSite(IRichEditOle* pThis, winmdroot.System.Ole.IOleClientSite** lplpolesite) 88 public unsafe void GetClientSite(winmdroot.System.Ole.IOleClientSite** lplpolesite) 90 ((delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IRichEditOle*)Unsafe.AsPointer(ref this), lplpolesite).ThrowOnFailure(); 764 internal delegate *unmanaged [Stdcall]<IRichEditOle*,winmdroot.System.Ole.IOleClientSite** ,winmdroot.Foundation.HRESULT> GetClientSite_4; 836 unsafe winmdroot.Foundation.HRESULT GetClientSite(winmdroot.System.Ole.IOleClientSite** lplpolesite);
_generated\434\Windows.Win32.QACONTAINER.g.cs (1)
31 internal unsafe winmdroot.System.Ole.IOleClientSite* pClientSite;
_generated\441\Windows.Win32.REOBJECT.g.cs (1)
61 internal unsafe winmdroot.System.Ole.IOleClientSite* polesite;
_generated\507\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)