2 writes to HBITMAP
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (2)
28
HBITMAP
= PInvokeCore.CreateBitmap(nWidth, nHeight, nPlanes, nBitCount, lpvBits);
34
public 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)
36
public static implicit operator HBITMAP(in CreateBitmapScope scope) => scope.
HBITMAP
;
37
public static implicit operator HGDIOBJ(in CreateBitmapScope scope) => scope.
HBITMAP
;
38
public static explicit operator nint(in CreateBitmapScope scope) => scope.
HBITMAP
;
40
public bool IsNull =>
HBITMAP
.IsNull;
44
if (!
HBITMAP
.IsNull)
46
PInvokeCore.DeleteObject(
HBITMAP
);