2 instantiations of OLE_HANDLE
Microsoft.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());
50 references to OLE_HANDLE
Microsoft.Private.Windows.Core (50)
Windows.Win32.IPicture.g.cs (25)
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) 75 public unsafe winmdroot.Foundation.HRESULT get_Handle(winmdroot.System.Ole.OLE_HANDLE* pHandle) 77 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IPicture*)Unsafe.AsPointer(ref this), pHandle); 80 /// <inheritdoc cref="get_hPal(winmdroot.System.Ole.OLE_HANDLE*)"/> 81 internal unsafe winmdroot.Foundation.HRESULT get_hPal(out winmdroot.System.Ole.OLE_HANDLE phPal) 83 fixed (winmdroot.System.Ole.OLE_HANDLE* phPalLocal = &phPal) 100 public unsafe winmdroot.Foundation.HRESULT get_hPal(winmdroot.System.Ole.OLE_HANDLE* phPal) 102 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IPicture*)Unsafe.AsPointer(ref this), phPal); 217 public winmdroot.Foundation.HRESULT set_hPal(winmdroot.System.Ole.OLE_HANDLE hPal) 219 return ((delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IPicture*)Unsafe.AsPointer(ref this), hPal); 247 /// <inheritdoc cref="SelectPicture(winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.HDC*, winmdroot.System.Ole.OLE_HANDLE*)"/> 248 internal unsafe winmdroot.Foundation.HRESULT SelectPicture(winmdroot.Graphics.Gdi.HDC hDCIn, out winmdroot.Graphics.Gdi.HDC phDCOut, out winmdroot.System.Ole.OLE_HANDLE phBmpOut) 250 fixed (winmdroot.System.Ole.OLE_HANDLE* phBmpOutLocal = &phBmpOut) 268 public unsafe winmdroot.Foundation.HRESULT SelectPicture(winmdroot.Graphics.Gdi.HDC hDCIn, winmdroot.Graphics.Gdi.HDC* phDCOut, winmdroot.System.Ole.OLE_HANDLE* phBmpOut) 270 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); 395 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE* ,winmdroot.Foundation.HRESULT> get_Handle_4; 397 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE* ,winmdroot.Foundation.HRESULT> get_hPal_5; 407 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.System.Ole.OLE_HANDLE ,winmdroot.Foundation.HRESULT> set_hPal_10; 411 internal delegate *unmanaged [Stdcall]<IPicture*,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.HDC* ,winmdroot.System.Ole.OLE_HANDLE* ,winmdroot.Foundation.HRESULT> SelectPicture_12; 433 unsafe winmdroot.Foundation.HRESULT get_Handle(winmdroot.System.Ole.OLE_HANDLE* pHandle); 436 unsafe winmdroot.Foundation.HRESULT get_hPal(winmdroot.System.Ole.OLE_HANDLE* phPal); 451winmdroot.Foundation.HRESULT set_hPal(winmdroot.System.Ole.OLE_HANDLE hPal); 457 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)
10public static explicit operator HICON(OLE_HANDLE handle) => new((nint)(int)handle.Value); 11public static explicit operator HBITMAP(OLE_HANDLE handle) => new((nint)(int)handle.Value); 12public static explicit operator HPALETTE(OLE_HANDLE handle) => new((nint)(int)handle.Value); 13public static explicit operator HMETAFILE(OLE_HANDLE handle) => new((nint)(int)handle.Value); 14public static explicit operator HENHMETAFILE(OLE_HANDLE handle) => new((nint)(int)handle.Value);