Exemple #1
0
        public static NativeMethods.Rect GetWindowRect(IntPtr hWnd)
        {
            var result = new NativeMethods.Rect();

            NativeMethods.GetWindowRect(hWnd, out result);
            return(result);
        }
Exemple #2
0
 public static NativeMethods.Rect GetWindowRect(IntPtr hWnd)
 {
     var result = new NativeMethods.Rect();
     NativeMethods.GetWindowRect(hWnd, out result);
     return result;
 }