BOOL PtInRegion(hrgn, X, Y) | |||||
HRGN hrgn; | /* handle of region | */ | |||
int X; | /* x-coordinate of point | */ | |||
int Y; | /* y-coordinate of point | */ |
This function determines whether the given point is inside of the specified region.
hrgn
Identifies the region to be examined.
X
Specifies the x-coordinate of the point.
Y
Specifies the y-coordinate of the point.
The return value specifies whether the specified point is in the given region. It is TRUE if the point is in the region. Otherwise, it is FALSE.