예제 #1
0
 public static RECT GetWindowRect(IntPtr hwnd)
 {
     var r = new RECT();
     GetWindowRect(hwnd, out r);
     return r;
 }
예제 #2
0
 public static extern bool GetWindowRect(IntPtr hwnd, out RECT lpRect);