WindowFromPoint function Null safety user32

int WindowFromPoint (
  1. POINT Point
)

Retrieves a handle to the window that contains the specified point.

HWND WindowFromPoint(
  POINT Point
);

Implementation

int WindowFromPoint(POINT Point) {
  final _WindowFromPoint = _user32.lookupFunction<IntPtr Function(POINT Point),
      int Function(POINT Point)>('WindowFromPoint');
  return _WindowFromPoint(Point);
}