GetWindowRgnBox function user32
Retrieves the dimensions of the tightest bounding rectangle for the window region of a window.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getwindowrgnbox.
Implementation
@pragma('vm:prefer-inline')
GDI_REGION_TYPE GetWindowRgnBox(HWND hWnd, Pointer<RECT> lprc) =>
.new(_GetWindowRgnBox(hWnd, lprc));