3 instantiations of OLE_HANDLE
System.Private.Windows.Core (2)
Windows.Win32.OLE_HANDLE.g.cs (2)
33
public static explicit operator OLE_HANDLE(uint value) => new
OLE_HANDLE
(value);
49
public static explicit operator OLE_HANDLE(IntPtr value) => new
OLE_HANDLE
((uint)value.ToInt32());
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
50
*pHandle =
new
((uint)(int)_handle);
74 references to OLE_HANDLE
System.Private.Windows.Core (54)
Windows.Win32.IPicture.g.cs (29)
55
/// <inheritdoc cref="get_Handle(winmdroot.System.Ole.
OLE_HANDLE
*)"/>
56
internal unsafe winmdroot.Foundation.HRESULT get_Handle(out winmdroot.System.Ole.
OLE_HANDLE
pHandle)
58
fixed (winmdroot.System.Ole.
OLE_HANDLE
* pHandleLocal = &pHandle)
68
private static winmdroot.Foundation.HRESULT get_Handle(IPicture* pThis, winmdroot.System.Ole.
OLE_HANDLE
* pHandle)
95
public unsafe winmdroot.Foundation.HRESULT get_Handle(winmdroot.System.Ole.
OLE_HANDLE
* pHandle)
97
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPicture*)Unsafe.AsPointer(ref this), pHandle);
100
/// <inheritdoc cref="get_hPal(winmdroot.System.Ole.
OLE_HANDLE
*)"/>
101
internal unsafe winmdroot.Foundation.HRESULT get_hPal(out winmdroot.System.Ole.
OLE_HANDLE
phPal)
103
fixed (winmdroot.System.Ole.
OLE_HANDLE
* phPalLocal = &phPal)
113
private static winmdroot.Foundation.HRESULT get_hPal(IPicture* pThis, winmdroot.System.Ole.
OLE_HANDLE
* phPal)
140
public unsafe winmdroot.Foundation.HRESULT get_hPal(winmdroot.System.Ole.
OLE_HANDLE
* phPal)
142
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPicture*)Unsafe.AsPointer(ref this), phPal);
333
private static winmdroot.Foundation.HRESULT set_hPal(IPicture* pThis, winmdroot.System.Ole.
OLE_HANDLE
hPal)
357
public winmdroot.Foundation.HRESULT set_hPal(winmdroot.System.Ole.
OLE_HANDLE
hPal)
359
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IPicture*)Unsafe.AsPointer(ref this), hPal);
407
/// <inheritdoc cref="SelectPicture(winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.HDC*, winmdroot.System.Ole.
OLE_HANDLE
*)"/>
408
internal unsafe winmdroot.Foundation.HRESULT SelectPicture(winmdroot.Graphics.Gdi.HDC hDCIn, out winmdroot.Graphics.Gdi.HDC phDCOut, out winmdroot.System.Ole.
OLE_HANDLE
phBmpOut)
410
fixed (winmdroot.System.Ole.
OLE_HANDLE
* phBmpOutLocal = &phBmpOut)
423
private static winmdroot.Foundation.HRESULT SelectPicture(IPicture* pThis, winmdroot.Graphics.Gdi.HDC hDCIn, winmdroot.Graphics.Gdi.HDC* phDCOut, winmdroot.System.Ole.
OLE_HANDLE
* phBmpOut)
448
public unsafe winmdroot.Foundation.HRESULT SelectPicture(winmdroot.Graphics.Gdi.HDC hDCIn, winmdroot.Graphics.Gdi.HDC* phDCOut, winmdroot.System.Ole.
OLE_HANDLE
* phBmpOut)
450
return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.HDC* ,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IPicture*)Unsafe.AsPointer(ref this), hDCIn, phDCOut, phBmpOut);
675
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT> get_Handle_4;
677
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT> get_hPal_5;
687
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.
OLE_HANDLE
,winmdroot.Foundation.HRESULT> set_hPal_10;
691
internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.HDC* ,winmdroot.System.Ole.
OLE_HANDLE
* ,winmdroot.Foundation.HRESULT> SelectPicture_12;
741
unsafe winmdroot.Foundation.HRESULT get_Handle(winmdroot.System.Ole.
OLE_HANDLE
* pHandle);
744
unsafe winmdroot.Foundation.HRESULT get_hPal(winmdroot.System.Ole.
OLE_HANDLE
* phPal);
759
winmdroot.Foundation.HRESULT set_hPal(winmdroot.System.Ole.
OLE_HANDLE
hPal);
765
unsafe winmdroot.Foundation.HRESULT SelectPicture(winmdroot.Graphics.Gdi.HDC hDCIn, winmdroot.Graphics.Gdi.HDC* phDCOut, winmdroot.System.Ole.
OLE_HANDLE
* phBmpOut);
Windows.Win32.OLE_HANDLE.g.cs (11)
25
: IEquatable<
OLE_HANDLE
>
31
public static implicit operator uint(
OLE_HANDLE
value) => value.Value;
33
public static explicit operator
OLE_HANDLE
(uint value) => new OLE_HANDLE(value);
35
public static bool operator ==(
OLE_HANDLE
left,
OLE_HANDLE
right) => left.Value == right.Value;
37
public static bool operator !=(
OLE_HANDLE
left,
OLE_HANDLE
right) => !(left == right);
39
public bool Equals(
OLE_HANDLE
other) => this.Value == other.Value;
41
public override bool Equals(object obj) => obj is
OLE_HANDLE
other && this.Equals(other);
47
public static implicit operator IntPtr(
OLE_HANDLE
value) => new IntPtr(value.Value);
49
public static explicit operator
OLE_HANDLE
(IntPtr value) => new OLE_HANDLE((uint)value.ToInt32());
Windows.Win32.System_Ole_IPicture_Extensions.g.cs (9)
23
/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_Handle(winmdroot.System.Ole.
OLE_HANDLE
*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT get_Handle(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.System.Ole.
OLE_HANDLE
pHandle)
26
fixed (winmdroot.System.Ole.
OLE_HANDLE
* pHandleLocal = &pHandle)
33
/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.get_hPal(winmdroot.System.Ole.
OLE_HANDLE
*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT get_hPal(this winmdroot.System.Ole.IPicture.Interface @this, out winmdroot.System.Ole.
OLE_HANDLE
phPal)
36
fixed (winmdroot.System.Ole.
OLE_HANDLE
* phPalLocal = &phPal)
93
/// <inheritdoc cref="winmdroot.System.Ole.IPicture.Interface.SelectPicture(winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.HDC*, winmdroot.System.Ole.
OLE_HANDLE
*)"/>
94
internal static unsafe winmdroot.Foundation.HRESULT SelectPicture(this winmdroot.System.Ole.IPicture.Interface @this, winmdroot.Graphics.Gdi.HDC hDCIn, out winmdroot.Graphics.Gdi.HDC phDCOut, out winmdroot.System.Ole.
OLE_HANDLE
phBmpOut)
96
fixed (winmdroot.System.Ole.
OLE_HANDLE
* phBmpOutLocal = &phBmpOut)
Windows\Win32\System\Ole\OLE_HANDLE.cs (5)
10
public static explicit operator HICON(
OLE_HANDLE
handle) => new((int)handle.Value);
11
public static explicit operator HBITMAP(
OLE_HANDLE
handle) => new((int)handle.Value);
12
public static explicit operator HPALETTE(
OLE_HANDLE
handle) => new((int)handle.Value);
13
public static explicit operator HMETAFILE(
OLE_HANDLE
handle) => new((int)handle.Value);
14
public static explicit operator HENHMETAFILE(
OLE_HANDLE
handle) => new((int)handle.Value);
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PictureConverter.cs (2)
19
private
OLE_HANDLE
_lastNativeHandle;
49
picture.Value->get_Handle(out
OLE_HANDLE
handle).ThrowOnFailure();
System\Windows\Forms\Input\Cursor.cs (1)
417
picture.Value->get_Handle(out
OLE_HANDLE
oleHandle);
System.Windows.Forms.Primitives (8)
System\Drawing\ImageExtensions.cs (8)
18
OLE_HANDLE
handle,
20
OLE_HANDLE
paletteHandle,
61
OLE_HANDLE
paletteHandle = default;
70
paletteHandle = (
OLE_HANDLE
)variant.data.uintVal;
74
OLE_HANDLE
handle = (
OLE_HANDLE
)variant.data.uintVal;
87
OLE_HANDLE
paletteHandle = default;
95
picture->get_Handle(out
OLE_HANDLE
handle).ThrowOnFailure();
System.Windows.Forms.Tests (9)
System\Windows\Forms\AxHostTests.cs (4)
1589
iPicture.get_Handle(out
OLE_HANDLE
handle).ThrowOnFailure();
1674
iPicture.get_Handle(out
OLE_HANDLE
handle).ThrowOnFailure();
1675
iPicture.get_hPal(out
OLE_HANDLE
hPal).ThrowOnFailure();
1703
iPicture.get_Handle(out
OLE_HANDLE
handle).ThrowOnFailure();
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (5)
43
public override unsafe HRESULT get_Handle(
OLE_HANDLE
* pHandle)
193
public virtual HRESULT get_Handle(
OLE_HANDLE
* pHandle) => HRESULT.S_OK;
201
public HRESULT get_hPal(
OLE_HANDLE
* phPal) => HRESULT.S_OK;
203
public HRESULT set_hPal(
OLE_HANDLE
hPal) => HRESULT.S_OK;
204
public HRESULT SelectPicture(HDC hDCIn, HDC* phDCOut,
OLE_HANDLE
* phBmpOut) => HRESULT.S_OK;