GetClientRect function user32

int GetClientRect(
  1. int hWnd,
  2. Pointer<RECT> lpRect
)

Retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).

BOOL GetClientRect(
  HWND   hWnd,
  LPRECT lpRect
);

Implementation

int GetClientRect(int hWnd, Pointer<RECT> lpRect) =>
    _GetClientRect(hWnd, lpRect);