PtInRect function user32

int PtInRect(
  1. Pointer<RECT> lprc,
  2. POINT pt

The PtInRect function determines whether the specified point lies within the specified rectangle. A point is within a rectangle if it lies on the left or top side or is within all four sides. A point on the right or bottom side is considered outside the rectangle.

BOOL PtInRect(
  const RECT *lprc,
  POINT      pt


int PtInRect(Pointer<RECT> lprc, POINT pt) => _PtInRect(lprc, pt);