103 references to IOleInPlaceSite
System.Windows.Forms (38)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (17)
22
IOleInPlaceSite
.Interface,
29
IManagedWrapper<IDispatch, IDispatchEx, IOleControlSite, IOleClientSite, IOleWindow,
IOleInPlaceSite
, ISimpleFrameSite, IVBGetControl, IGetVBAObject, IPropertyNotifySink>
333
=> ((
IOleInPlaceSite
.Interface)this).GetWindow(phwnd);
336
=> ((
IOleInPlaceSite
.Interface)this).ContextSensitiveHelp(fEnterMode);
338
HRESULT
IOleInPlaceSite
.Interface.GetWindow(HWND* phwnd)
349
HRESULT
IOleInPlaceSite
.Interface.ContextSensitiveHelp(BOOL fEnterMode) => HRESULT.E_NOTIMPL;
351
HRESULT
IOleInPlaceSite
.Interface.CanInPlaceActivate() => HRESULT.S_OK;
353
HRESULT
IOleInPlaceSite
.Interface.OnInPlaceActivate()
361
HRESULT
IOleInPlaceSite
.Interface.OnUIActivate()
368
HRESULT
IOleInPlaceSite
.Interface.GetWindowContext(
408
HRESULT
IOleInPlaceSite
.Interface.Scroll(SIZE scrollExtant) => HRESULT.S_FALSE;
410
HRESULT
IOleInPlaceSite
.Interface.OnUIDeactivate(BOOL fUndoable)
421
HRESULT
IOleInPlaceSite
.Interface.OnInPlaceDeactivate()
425
((
IOleInPlaceSite
.Interface)this).OnUIDeactivate(fUndoable: false).AssertSuccess();
434
HRESULT
IOleInPlaceSite
.Interface.DiscardUndoState() => HRESULT.S_OK;
436
HRESULT
IOleInPlaceSite
.Interface.DeactivateAndUndo()
442
HRESULT
IOleInPlaceSite
.Interface.OnPosRectChange(RECT* lprcPosRect)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (5)
790
using var inPlaceSite = _clientSite.TryGetInterface<
IOleInPlaceSite
>(out HRESULT hr);
952
using var inPlaceSite = _clientSite.TryGetInterface<
IOleInPlaceSite
>(out HRESULT hr);
1698
using var clientSite = _clientSite.TryGetInterface<
IOleInPlaceSite
>(out HRESULT hr);
1957
using var inPlaceSite = _clientSite.TryGetInterface<
IOleInPlaceSite
>(out HRESULT hr);
1989
using var inPlaceSite = _clientSite.TryGetInterface<
IOleInPlaceSite
>(out HRESULT hr);
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (16)
25
IOleInPlaceSite
.Interface,
214
unsafe HRESULT
IOleInPlaceSite
.Interface.GetWindow(HWND* phwnd)
225
HRESULT
IOleInPlaceSite
.Interface.ContextSensitiveHelp(BOOL fEnterMode) => HRESULT.E_NOTIMPL;
227
HRESULT
IOleInPlaceSite
.Interface.CanInPlaceActivate() => HRESULT.S_OK;
229
HRESULT
IOleInPlaceSite
.Interface.OnInPlaceActivate()
237
HRESULT
IOleInPlaceSite
.Interface.OnUIActivate()
244
HRESULT
IOleInPlaceSite
.Interface.GetWindowContext(
277
HRESULT
IOleInPlaceSite
.Interface.Scroll(SIZE scrollExtant) => HRESULT.S_FALSE;
279
HRESULT
IOleInPlaceSite
.Interface.OnUIDeactivate(BOOL fUndoable)
290
HRESULT
IOleInPlaceSite
.Interface.OnInPlaceDeactivate()
294
((
IOleInPlaceSite
.Interface)this).OnUIDeactivate(false);
302
HRESULT
IOleInPlaceSite
.Interface.DiscardUndoState() => HRESULT.S_OK;
304
HRESULT
IOleInPlaceSite
.Interface.DeactivateAndUndo() => Host.AXInPlaceObject!.UIDeactivate();
306
HRESULT
IOleInPlaceSite
.Interface.OnPosRectChange(RECT* lprcPosRect) => OnActiveXRectChange(lprcPosRect);
419
=> ((
IOleInPlaceSite
.Interface)this).GetWindow(phwnd);
422
=> ((
IOleInPlaceSite
.Interface)this).ContextSensitiveHelp(fEnterMode);
System.Windows.Forms.Primitives (65)
Windows.Win32.IOleInPlaceSite.g.cs (59)
26
:IVTable<
IOleInPlaceSite
,
IOleInPlaceSite
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,uint>)lpVtbl[1])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,uint>)lpVtbl[2])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this));
68
private static winmdroot.Foundation.HRESULT GetWindow(
IOleInPlaceSite
* pThis, winmdroot.Foundation.HWND* phwnd)
87
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), phwnd);
93
private static winmdroot.Foundation.HRESULT ContextSensitiveHelp(
IOleInPlaceSite
* pThis, winmdroot.Foundation.BOOL fEnterMode)
112
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), fEnterMode);
118
private static winmdroot.Foundation.HRESULT CanInPlaceActivate(
IOleInPlaceSite
* pThis)
147
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this));
153
private static winmdroot.Foundation.HRESULT OnInPlaceActivate(
IOleInPlaceSite
* pThis)
181
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this));
187
private static winmdroot.Foundation.HRESULT OnUIActivate(
IOleInPlaceSite
* pThis)
215
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this));
237
private static winmdroot.Foundation.HRESULT GetWindowContext(
IOleInPlaceSite
* pThis, winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, winmdroot.Foundation.RECT* lprcPosRect, winmdroot.Foundation.RECT* lprcClipRect, winmdroot.System.Ole.OLEINPLACEFRAMEINFO* lpFrameInfo)
270
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.System.Ole.IOleInPlaceFrame** ,winmdroot.System.Ole.IOleInPlaceUIWindow** ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.RECT* ,winmdroot.System.Ole.OLEINPLACEFRAMEINFO* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), ppFrame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
276
private static winmdroot.Foundation.HRESULT Scroll(
IOleInPlaceSite
* pThis, winmdroot.Foundation.SIZE scrollExtant)
305
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.SIZE ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), scrollExtant);
311
private static winmdroot.Foundation.HRESULT OnUIDeactivate(
IOleInPlaceSite
* pThis, winmdroot.Foundation.BOOL fUndoable)
340
((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), fUndoable).ThrowOnFailure();
346
private static winmdroot.Foundation.HRESULT OnInPlaceDeactivate(
IOleInPlaceSite
* pThis)
374
((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
380
private static winmdroot.Foundation.HRESULT DiscardUndoState(
IOleInPlaceSite
* pThis)
408
((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[12])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
414
private static winmdroot.Foundation.HRESULT DeactivateAndUndo(
IOleInPlaceSite
* pThis)
442
((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT>)lpVtbl[13])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this)).ThrowOnFailure();
458
private static winmdroot.Foundation.HRESULT OnPosRectChange(
IOleInPlaceSite
* pThis, winmdroot.Foundation.RECT* lprcPosRect)
487
return ((delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((
IOleInPlaceSite
*)Unsafe.AsPointer(ref this), lprcPosRect);
511
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
513
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,uint> AddRef_2;
515
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,uint> Release_3;
517
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HWND* ,winmdroot.Foundation.HRESULT> GetWindow_4;
519
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> ContextSensitiveHelp_5;
521
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> CanInPlaceActivate_6;
523
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> OnInPlaceActivate_7;
525
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> OnUIActivate_8;
527
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.System.Ole.IOleInPlaceFrame** ,winmdroot.System.Ole.IOleInPlaceUIWindow** ,winmdroot.Foundation.RECT* ,winmdroot.Foundation.RECT* ,winmdroot.System.Ole.OLEINPLACEFRAMEINFO* ,winmdroot.Foundation.HRESULT> GetWindowContext_9;
529
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.SIZE ,winmdroot.Foundation.HRESULT> Scroll_10;
531
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> OnUIDeactivate_11;
533
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> OnInPlaceDeactivate_12;
535
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> DiscardUndoState_13;
537
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.HRESULT> DeactivateAndUndo_14;
539
internal delegate *unmanaged [Stdcall]<
IOleInPlaceSite
*,winmdroot.Foundation.RECT* ,winmdroot.Foundation.HRESULT> OnPosRectChange_15;
Windows.Win32.System_Ole_IOleInPlaceSite_Extensions.g.cs (6)
23
/// <inheritdoc cref="winmdroot.System.Ole.
IOleInPlaceSite
.Interface.GetWindow(winmdroot.Foundation.HWND*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetWindow(this winmdroot.System.Ole.
IOleInPlaceSite
.Interface @this, out winmdroot.Foundation.HWND phwnd)
33
/// <inheritdoc cref="winmdroot.System.Ole.
IOleInPlaceSite
.Interface.GetWindowContext(winmdroot.System.Ole.IOleInPlaceFrame**, winmdroot.System.Ole.IOleInPlaceUIWindow**, winmdroot.Foundation.RECT*, winmdroot.Foundation.RECT*, winmdroot.System.Ole.OLEINPLACEFRAMEINFO*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT GetWindowContext(this winmdroot.System.Ole.
IOleInPlaceSite
.Interface @this, winmdroot.System.Ole.IOleInPlaceFrame** ppFrame, winmdroot.System.Ole.IOleInPlaceUIWindow** ppDoc, out winmdroot.Foundation.RECT lprcPosRect, out winmdroot.Foundation.RECT lprcClipRect, ref winmdroot.System.Ole.OLEINPLACEFRAMEINFO lpFrameInfo)
49
/// <inheritdoc cref="winmdroot.System.Ole.
IOleInPlaceSite
.Interface.OnPosRectChange(winmdroot.Foundation.RECT*)"/>
50
internal static unsafe winmdroot.Foundation.HRESULT OnPosRectChange(this winmdroot.System.Ole.
IOleInPlaceSite
.Interface @this, in winmdroot.Foundation.RECT lprcPosRect)