GetWndRect (hwnd)

Returns a Rect record, which contains the screen rectangle coordinates of the given window. The rectangle includes the window frame and non-client areas. See also “Rect Record”.