Пример #1
0
 public static Structures.CCleaner_Rectangle GetWindowRectangle(IntPtr hWnd)
 {
     try
     {
         Structures.CCleaner_Rectangle LowRectangle = new Structures.CCleaner_Rectangle();
         GetWindowRect(hWnd, out LowRectangle);
         return(LowRectangle);
     }
     catch (Exception ExceptionString)
     {
         string ExceptionMessage = Convert.ToString(ExceptionString);
     }
     return(new Structures.CCleaner_Rectangle());
 }
Пример #2
0
 public static extern bool GetWindowRect(IntPtr hwnd, out Structures.CCleaner_Rectangle lpRect);