static RECT GetClientRect(IntPtr hWnd) { RECT result = new RECT(); GetClientRect(hWnd, out result); return result; }
static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect);