SetWindowRgn function user32
Sets the window region of a window.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-setwindowrgn.
Implementation
@pragma('vm:prefer-inline')
int SetWindowRgn(HWND hWnd, HRGN? hRgn, bool bRedraw) =>
_SetWindowRgn(hWnd, hRgn ?? nullptr, bRedraw ? TRUE : FALSE);