2 writes to hBitmap
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Control.cs (2)
19252
hBitmap
= new HandleRef(this, SafeNativeMethods.CreateBitmap(size.Width, size.Height, planes, bitsPixel, IntPtr.Zero));
19281
hBitmap
= NativeMethods.NullHandleRef;
3 references to hBitmap
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Control.cs (3)
19254
hOriginalBmp = new HandleRef(this, SafeNativeMethods.SelectObject(hBitmapDC,
hBitmap
));
19262
if (hBitmapDC.Handle == IntPtr.Zero || hMetafileDC.Handle == IntPtr.Zero ||
hBitmap
.Handle == IntPtr.Zero) {
19272
success = SafeNativeMethods.DeleteObject(
hBitmap
);