16 references to HBITMAP
System.Private.Windows.Core (12)
System\Private\Windows\Graphics\IBitmap.cs (1)
16HBITMAP GetHbitmap();
System\Private\Windows\Ole\DragDropHelper.cs (2)
269using HBITMAP hbmpDragImage = dragImage is not null ? dragImage.GetHbitmap() : HBITMAP.Null;
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\HBITMAP.cs (2)
19public HBITMAP CreateCompatibleBitmap(int width, int height) 29HBITMAP compatibleBitmap = PInvokeCore.CreateCompatibleBitmap(screenDC, width, height);
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (2)
12public static explicit operator HBITMAP(HGDIOBJ value) => (HBITMAP)value.Value;
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)"/>