8 references to CreateBitmap
System.Private.Windows.Core (3)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (3)
7/// Helper to scope lifetime of a <see cref="Gdi.HBITMAP"/> created via <see cref="PInvokeCore.CreateBitmap"/> 25/// Creates a bitmap using <see cref="PInvokeCore.CreateBitmap"/> 28HBITMAP = PInvokeCore.CreateBitmap(nWidth, nHeight, nPlanes, nBitCount, lpvBits);
System.Windows.Forms (5)
System\Windows\Forms\Control.MetafileDCWrapper.cs (2)
44_hBitmap = PInvokeCore.CreateBitmap(size.Width, size.Height, (uint)planes, (uint)bitsPixel, lpBits: null); 91HBITMAP hNullBitmap = PInvokeCore.CreateBitmap(1, 1, 1, 1, null);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1706using HBITMAP compatibleBitmap = PInvokeCore.CreateBitmap(rectangle.Width, rectangle.Height, (uint)planes, (uint)bitsPixel, lpBits: null);
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
69HBITMAP hbitmapTemp = PInvokeCore.CreateBitmap(8, 8, 1, 1, patternBits);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
320return (IntPtr)PInvokeCore.CreateBitmap(size.Width, size.Height, nPlanes: 1, nBitCount: 1, pBits);