CreateCompatibleDC function gdi32
Creates a memory device context (DC) compatible with the specified device.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-createcompatibledc.
Implementation
@pragma('vm:prefer-inline')
HDC CreateCompatibleDC(HDC? hdc) => HDC(_CreateCompatibleDC(hdc ?? nullptr));