PtInRect function user32
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
);
Implementation
int PtInRect(Pointer<RECT> lprc, POINT pt) => _PtInRect(lprc, pt);