static extern int MapWindowPoints([In] IntPtr hWndFrom, [In] IntPtr hWndTo, ref POINT lpPoints, uint cPoints);
private static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
public static extern IntPtr WindowFromPoint(POINT Point);
public static extern int MapWindowPoints(IntPtr hwndFrom, IntPtr hwndTo, ref POINT lpPoints, [MarshalAs(UnmanagedType.U4)] int cPoints);
public static Point ClientToScreen(SystemWindow window, Point point) { POINT p = new POINT(point.X, point.Y); MapWindowPoints(window.HWnd, IntPtr.Zero, ref p, 1); return new Point(p.X, p.Y); }
public static extern bool GetCursorPos(out POINT lpPoint);
private static extern IntPtr WindowFromPoint(POINT Point);