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
"/>
28
HBITMAP = 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);
91
HBITMAP hNullBitmap = PInvokeCore.
CreateBitmap
(1, 1, 1, 1, null);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1706
using HBITMAP compatibleBitmap = PInvokeCore.
CreateBitmap
(rectangle.Width, rectangle.Height, (uint)planes, (uint)bitsPixel, lpBits: null);
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
69
HBITMAP hbitmapTemp = PInvokeCore.
CreateBitmap
(8, 8, 1, 1, patternBits);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
320
return (IntPtr)PInvokeCore.
CreateBitmap
(size.Width, size.Height, nPlanes: 1, nBitCount: 1, pBits);