4 references to CreateCompatibleBitmap
System.Private.Windows.Core (3)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (2)
32
/// <see cref="PInvokeCore.
CreateCompatibleBitmap
(HDC, int, int)"/>
34
public CreateBitmapScope(HDC hdc, int cx, int cy) => HBITMAP = PInvokeCore.
CreateCompatibleBitmap
(hdc, cx, cy);
Windows\Win32\Graphics\Gdi\HBITMAP.cs (1)
29
HBITMAP compatibleBitmap = PInvokeCore.
CreateCompatibleBitmap
(screenDC, width, height);
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (1)
34
_cachedItemBitmap = PInvokeCore.
CreateCompatibleBitmap
(toolStripHDC, bitmapSize.Width, bitmapSize.Height);