public static extern bool GetWindowRect(IntPtr hwnd, ref RECT rect);
 public static extern bool AdjustWindowRect(out RECT lpRect, int dwStyle, bool bMenu);