14 references to HBITMAP
System.Private.Windows.Core (10)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (4)
7/// Helper to scope lifetime of a <see cref="Gdi.HBITMAP"/> created via <see cref="PInvokeCore.CreateBitmap"/> 8/// Deletes the <see cref="Gdi.HBITMAP"/> (if any) when disposed. 22public HBITMAP HBITMAP { get; } 36public static implicit operator HBITMAP(in CreateBitmapScope scope) => scope.HBITMAP;
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (2)
12public static explicit operator HBITMAP(HGDIOBJ value) => (HBITMAP)value.Value;
Windows\Win32\Graphics\GdiPlus\GpBitmapExtensions.cs (3)
35public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap) => bitmap.GetHBITMAP(Color.LightGray); 37public static HBITMAP GetHBITMAP(this IPointer<GpBitmap> bitmap, Color background) 39HBITMAP hbitmap;
Windows\Win32\System\Ole\OLE_HANDLE.cs (1)
11public static explicit operator HBITMAP(OLE_HANDLE handle) => new((int)handle.Value);
System.Windows.Forms.Primitives (4)
Windows\Win32\PInvoke.ImageList.cs (4)
12/// <inheritdoc cref="ImageList_Add(HIMAGELIST, HBITMAP, HBITMAP)"/> 92/// <inheritdoc cref="ImageList_Replace(HIMAGELIST, int, HBITMAP, HBITMAP)"/>