public static extern bool GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi);
internal WINDOWINFO GetWindowInfo() { WINDOWINFO info = new WINDOWINFO(); info.cbSize = (uint)Marshal.SizeOf(info); Win32.NativeMethods.GetWindowInfo(base.Handle, ref info); return info; }