CreateCompatibleBitmap function gdi32
Creates a bitmap compatible with the device that is associated with the specified device context.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createcompatiblebitmap.
Implementation
@pragma('vm:prefer-inline')
HBITMAP CreateCompatibleBitmap(HDC hdc, int cx, int cy) =>
HBITMAP(_CreateCompatibleBitmap(hdc, cx, cy));