48 references to IOleControl
System.Windows.Forms (17)
System\Windows\Forms\ActiveX\AxHost.cs (4)
807
using var oleControl = GetComScope<
IOleControl
>();
837
if (GetOcx() is
IOleControl
.Interface oleCtl)
1745
using var oleControl = GetComScope<
IOleControl
>();
2164
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;
1014
_axOleControl = (
IOleControl
.Interface)_activeXInstance;
System.Windows.Forms.Primitives (31)
_generated\202\Windows.Win32.IOleControl.g.cs (27)
27
:winmdroot.IVTable<
IOleControl
,
IOleControl
.Vtbl>,IComIID {
44
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IOleControl
*)Unsafe.AsPointer(ref this), riid, ppvObject);
49
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,uint>)lpVtbl[1])((
IOleControl
*)Unsafe.AsPointer(ref this));
54
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,uint>)lpVtbl[2])((
IOleControl
*)Unsafe.AsPointer(ref this));
71
private static winmdroot.Foundation.HRESULT GetControlInfo(
IOleControl
* pThis, winmdroot.System.Ole.CONTROLINFO* pCI)
99
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.System.Ole.CONTROLINFO* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IOleControl
*)Unsafe.AsPointer(ref this), pCI);
116
private static winmdroot.Foundation.HRESULT OnMnemonic(
IOleControl
* pThis, winmdroot.UI.WindowsAndMessaging.MSG* pMsg)
146
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IOleControl
*)Unsafe.AsPointer(ref this), pMsg);
152
private static winmdroot.Foundation.HRESULT OnAmbientPropertyChange(
IOleControl
* pThis, int dispID)
178
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IOleControl
*)Unsafe.AsPointer(ref this), dispID);
184
private static winmdroot.Foundation.HRESULT FreezeEvents(
IOleControl
* pThis, winmdroot.Foundation.BOOL bFreeze)
210
return ((delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IOleControl
*)Unsafe.AsPointer(ref this), bFreeze);
236
internal delegate *unmanaged [Stdcall]<
IOleControl
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
238
internal delegate *unmanaged [Stdcall]<
IOleControl
*,uint> AddRef_2;
240
internal delegate *unmanaged [Stdcall]<
IOleControl
*,uint> Release_3;
242
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.System.Ole.CONTROLINFO* ,winmdroot.Foundation.HRESULT> GetControlInfo_4;
244
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.UI.WindowsAndMessaging.MSG* ,winmdroot.Foundation.HRESULT> OnMnemonic_5;
246
internal delegate *unmanaged [Stdcall]<
IOleControl
*,int ,winmdroot.Foundation.HRESULT> OnAmbientPropertyChange_6;
248
internal delegate *unmanaged [Stdcall]<
IOleControl
*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> FreezeEvents_7;
_generated\500\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)