100 references to IOleClientSite
System.Windows.Forms (39)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
665
using ComScope<
IOleClientSite
> clientSite = new(null);
System\Windows\Forms\ActiveX\AxHost.cs (5)
1513
((
IOleClientSite
.Interface)_oleSite).ShowObject();
2151
using var pClientSite = ComHelpers.TryGetComScope<
IOleClientSite
>(_oleSite, out HRESULT hr);
3320
qaContainer.pClientSite = ComHelpers.GetComPointer<
IOleClientSite
>(_oleSite);
3473
using var clientSite = ComHelpers.GetComScope<
IOleClientSite
>(_oleSite);
3482
using var clientSite = ComHelpers.GetComScope<
IOleClientSite
>(_oleSite);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (8)
21
IOleClientSite
.Interface,
29
IManagedWrapper<IDispatch, IDispatchEx, IOleControlSite,
IOleClientSite
, IOleWindow, IOleInPlaceSite, ISimpleFrameSite, IVBGetControl, IGetVBAObject, IPropertyNotifySink>
255
HRESULT
IOleClientSite
.Interface.SaveObject() => HRESULT.E_NOTIMPL;
257
HRESULT
IOleClientSite
.Interface.GetMoniker(uint dwAssign, uint dwWhichMoniker, IMoniker** ppmk)
268
HRESULT
IOleClientSite
.Interface.GetContainer(IOleContainer** ppContainer)
279
HRESULT
IOleClientSite
.Interface.ShowObject()
326
HRESULT
IOleClientSite
.Interface.OnShowWindow(BOOL fShow) => HRESULT.S_OK;
328
HRESULT
IOleClientSite
.Interface.RequestNewObjectLayout() => HRESULT.E_NOTIMPL;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (7)
128
private AgileComPointer<
IOleClientSite
>? _clientSite;
331
/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*,
IOleClientSite
*, int, HWND, RECT*)"/>
335
IOleClientSite
* pActiveSite,
608
/// <inheritdoc cref="IOleObject.GetClientSite(
IOleClientSite
**)"/>
609
internal ComScope<
IOleClientSite
> GetClientSite() => _clientSite is null ? default : _clientSite.GetInterface();
1630
/// <inheritdoc cref="IOleObject.SetClientSite(
IOleClientSite
*)"/>
1631
internal void SetClientSite(
IOleClientSite
* value)
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (2)
14
private readonly AgileComPointer<
IOleClientSite
> _clientSite;
18
internal AxSourcingSite(IComponent component, AgileComPointer<
IOleClientSite
> clientSite, string? name)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (6)
143
/// <inheritdoc cref="IOleObject.SetClientSite(
IOleClientSite
*)"/>
144
HRESULT IOleObject.Interface.SetClientSite(
IOleClientSite
* pClientSite)
150
/// <inheritdoc cref="IOleObject.GetClientSite(
IOleClientSite
**)"/>
151
HRESULT IOleObject.Interface.GetClientSite(
IOleClientSite
** ppClientSite)
205
/// <inheritdoc cref="IOleObject.DoVerb(int, MSG*,
IOleClientSite
*, int, HWND, RECT*)"/>
209
IOleClientSite
* pActiveSite,
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
672
using var clientSite = ComHelpers.GetComScope<
IOleClientSite
>(ActiveXSite);
902
_axOleObject!.SetClientSite(ComHelpers.GetComPointer<
IOleClientSite
>(ActiveXSite));
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (1)
106
IOleClientSite
* clientSite;
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (7)
27
IOleClientSite
.Interface,
159
HRESULT
IOleClientSite
.Interface.SaveObject() => HRESULT.E_NOTIMPL;
161
HRESULT
IOleClientSite
.Interface.GetMoniker(uint dwAssign, uint dwWhichMoniker, IMoniker** ppmk)
172
HRESULT
IOleClientSite
.Interface.GetContainer(IOleContainer** ppContainer)
183
HRESULT
IOleClientSite
.Interface.ShowObject()
209
HRESULT
IOleClientSite
.Interface.OnShowWindow(BOOL fShow) => HRESULT.S_OK;
211
HRESULT
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)