public static extern int GetWindowRect(IntPtr hWnd, ref RECT lpRect);
public static extern int AdjustWindowRectEx(out RECT rect, uint style, bool menu, uint exStyle);