12 references to GetHbitmap
PresentationFramework-SystemDrawing (3)
SystemDrawingExtension.cs (3)
87return bitmapData.GetHbitmap(); 94return (bitmap != null) ? bitmap.GetHbitmap() : IntPtr.Zero; 112return bmp.GetHbitmap();
System.Drawing.Common.Tests (5)
mono\System.Drawing\BitmapTests.cs (2)
1271hbitmap = bitmap.GetHbitmap(); 1297hbitmap = bitmap.GetHbitmap();
System\Drawing\BitmapTests.cs (3)
598IntPtr handle = bitmap.GetHbitmap(); 640AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetHbitmap()); 649AssertExtensions.Throws<ArgumentException>(null, () => bitmap.GetHbitmap());
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
309HBITMAP colorMask = (HBITMAP)bitmap.GetHbitmap();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\SystemDrawingExtensions.cs (1)
13internal static HBITMAP GetHBITMAP(this Bitmap bitmap) => (HBITMAP)bitmap.GetHbitmap();
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2PictureConverterTests.cs (1)
95nint hBitmap = errorBitmap.GetHbitmap();
System\Windows\Forms\ControlPaintTests.cs (1)
129HBITMAP monochromeMask = (HBITMAP)mask.GetHbitmap();