static extern bool GetWindowRect(IntPtr hwnd, out Engine.RECT lpRect);
public static Engine.RECT GetWindowRect(IntPtr hWnd) { Engine.RECT result = new Engine.RECT(); GetWindowRect(hWnd, out result); return(result); }