WindowFromPhysicalPoint function Null safety user32

int WindowFromPhysicalPoint (
  1. POINT Point
)

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

HWND WindowFromPhysicalPoint(
  POINT Point
);

Implementation

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