static extern bool GetWindowRect(IntPtr hWnd, out W32RECT lpRect);
public static extern bool GetWindowRect(IntPtr hWnd, out W32RECT lpRect);
public static extern bool GetClientRect(IntPtr hWnd, ref W32RECT lpRect);
private static extern IntPtr MonitorFromRect(W32RECT pt, MultiMonFlags dwFlags);
public static System.Drawing.Rectangle GetDrawingRectangle(W32RECT input) { return(new System.Drawing.Rectangle(input.left, input.top, input.right - input.left, input.bottom - input.top)); }