BeginPaint function user32
Prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-beginpaint.
Implementation
@pragma('vm:prefer-inline')
HDC BeginPaint(HWND hWnd, Pointer<PAINTSTRUCT> lpPaint) =>
HDC(_BeginPaint(hWnd, lpPaint));