2 writes to HBITMAP
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (2)
28HBITMAP = PInvokeCore.CreateBitmap(nWidth, nHeight, nPlanes, nBitCount, lpvBits); 34public CreateBitmapScope(HDC hdc, int cx, int cy) => HBITMAP = PInvokeCore.CreateCompatibleBitmap(hdc, cx, cy);
6 references to HBITMAP
System.Private.Windows.Core (6)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (6)
36public static implicit operator HBITMAP(in CreateBitmapScope scope) => scope.HBITMAP; 37public static implicit operator HGDIOBJ(in CreateBitmapScope scope) => scope.HBITMAP; 38public static explicit operator nint(in CreateBitmapScope scope) => scope.HBITMAP; 40public bool IsNull => HBITMAP.IsNull; 44if (!HBITMAP.IsNull) 46PInvokeCore.DeleteObject(HBITMAP);