The PtVisible function indicates whether the specified point is within the clipping region of a device context.
BOOL PtVisible(
HDC hdc, // handle of device context
int X, // x-coordinate of point
int Y // y-coordinate of point
);
If the specified point is within the clipping region of the device context, the return value is nonzero.
If the specified point is not within the clipping region of the device context, the return value is zero.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Clipping Overview, Clipping Functions, RectVisible