48 references to IOleControl
System.Windows.Forms (17)
System\Windows\Forms\ActiveX\AxHost.cs (4)
810
using var oleControl = GetComScope<
IOleControl
>();
840
if (GetOcx() is
IOleControl
.Interface oleCtl)
1748
using var oleControl = GetComScope<
IOleControl
>();
2167
using var oleControl = GetComScope<
IOleControl
>();
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
611
/// <inheritdoc cref="
IOleControl
.GetControlInfo(CONTROLINFO*)"/>
1255
/// <inheritdoc cref="
IOleControl
.OnAmbientPropertyChange(int)"/>
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (9)
15
IOleControl
.Interface,
28
/// <inheritdoc cref="
IOleControl
.GetControlInfo(CONTROLINFO*)"/>
29
unsafe HRESULT
IOleControl
.Interface.GetControlInfo(CONTROLINFO* pCI)
54
/// <inheritdoc cref="
IOleControl
.OnMnemonic(MSG*)"/>
55
unsafe HRESULT
IOleControl
.Interface.OnMnemonic(MSG* pMsg)
68
/// <inheritdoc cref="
IOleControl
.OnAmbientPropertyChange(int)"/>
69
HRESULT
IOleControl
.Interface.OnAmbientPropertyChange(int dispID)
75
/// <inheritdoc cref="
IOleControl
.FreezeEvents(BOOL)"/>
76
HRESULT
IOleControl
.Interface.FreezeEvents(BOOL bFreeze)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
47
private
IOleControl
.Interface? _axOleControl;
1020
_axOleControl = (
IOleControl
.Interface)_activeXInstance;
System.Windows.Forms.Primitives (31)
Windows.Win32.IOleControl.g.cs (27)
26
:IVTable<
IOleControl
,
IOleControl
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IOleControl
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,uint>)lpVtbl[1])((
IOleControl
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,uint>)lpVtbl[2])((
IOleControl
*)Unsafe.AsPointer(ref this));
68
private static winmdroot.Foundation.HRESULT GetControlInfo(
IOleControl
* pThis, winmdroot.System.Ole.CONTROLINFO* pCI)
96
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.System.Ole.CONTROLINFO* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IOleControl
*)Unsafe.AsPointer(ref this), pCI);
112
private static winmdroot.Foundation.HRESULT OnMnemonic(
IOleControl
* pThis, winmdroot.UI.WindowsAndMessaging.MSG* pMsg)
142
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IOleControl
*)Unsafe.AsPointer(ref this), pMsg);
148
private static winmdroot.Foundation.HRESULT OnAmbientPropertyChange(
IOleControl
* pThis, int dispID)
174
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IOleControl
*)Unsafe.AsPointer(ref this), dispID);
180
private static winmdroot.Foundation.HRESULT FreezeEvents(
IOleControl
* pThis, winmdroot.Foundation.BOOL bFreeze)
206
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IOleControl
*)Unsafe.AsPointer(ref this), bFreeze);
230
internal delegate *unmanaged [Stdcall]<
IOleControl
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
232
internal delegate *unmanaged [Stdcall]<
IOleControl
*,uint> AddRef_2;
234
internal delegate *unmanaged [Stdcall]<
IOleControl
*,uint> Release_3;
236
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.System.Ole.CONTROLINFO* ,winmdroot.Foundation.HRESULT> GetControlInfo_4;
238
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.Foundation.HRESULT> OnMnemonic_5;
240
internal delegate *unmanaged [Stdcall]<
IOleControl
*,int ,winmdroot.Foundation.HRESULT> OnAmbientPropertyChange_6;
242
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> FreezeEvents_7;
Windows.Win32.System_Ole_IOleControl_Extensions.g.cs (4)
23
/// <inheritdoc cref="winmdroot.System.Ole.
IOleControl
.Interface.GetControlInfo(winmdroot.System.Ole.CONTROLINFO*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetControlInfo(this winmdroot.System.Ole.
IOleControl
.Interface @this, ref winmdroot.System.Ole.CONTROLINFO pCI)
33
/// <inheritdoc cref="winmdroot.System.Ole.
IOleControl
.Interface.OnMnemonic(winmdroot.UI.WindowsAndMessaging.MSG*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT OnMnemonic(this winmdroot.System.Ole.
IOleControl
.Interface @this, in winmdroot.UI.WindowsAndMessaging.MSG pMsg)