GetWindowRgnBox function user32

GDI_REGION_TYPE GetWindowRgnBox(
  1. HWND hWnd,
  2. Pointer<RECT> lprc
)

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));