Пример #1
0
 private static extern bool GetWindowRect(IntPtr hwnd, out RECT lpRect);
Пример #2
0
 public static bool TryGetWindowRect(IntPtr hWnd, out RECT rect)
 {
     return GetWindowRect(hWnd, out rect);
 }