GetWindowRect function user32
Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.
BOOL GetWindowRect(
HWND hWnd,
LPRECT lpRect
);
Implementation
int GetWindowRect(int hWnd, Pointer<RECT> lpRect) =>
_GetWindowRect(hWnd, lpRect);