hdc (HDC) - input
hrgn (HRGN) - input
pptlPoint (PPOINTL) - input
Pointer
to (x, y) point specified in device coordinates.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGrePtInRegion.
rc (LONG) - returns
Return
codes.
This function returns an integer (lInside) indicating whether the point
is inside the region:
RGN_ERROR
PRGN_INSIDE
PRGN_OUTSIDE
Possible Errors Detected: When an error is detected, the handling
routine must call WinSetErrorInfo to post the condition. Error codes for
conditions that the handling routine is expected to check include:
Refer to the "Error
Explanations" section in the Presentation Manager Programming Reference
for further explanation.
[Back: GrePtInRegion Return Value - rc]
[Next: GrePtInRegion - Topics]