GetDCEx function user32
Retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getdcex.
Implementation
@pragma('vm:prefer-inline')
HDC GetDCEx(HWND? hWnd, HRGN? hrgnClip, GET_DCX_FLAGS flags) =>
HDC(_GetDCEx(hWnd ?? nullptr, hrgnClip ?? nullptr, flags));