static extern bool GetWindowRect(HandleRef hWnd, out InternalRect lpRect);
static extern bool GetWindowRect(IntPtr hwnd, out InternalRect lpInternalRect);
static extern bool GetWindowRect(HandleRef hWnd, out InternalRect lpRect);
static extern bool GetWindowRect(IntPtr hwnd, out InternalRect lpInternalRect);