hdc (HDC) - input
hrgn (HRGN) - input
prclRect (PRECTL) - input
Pointer
to rectangle in device coordinates.
RECTL structure:
xLeft
Minimum x-coordinate of rectangle
yBottom
xRight
Maximum x-coordinate of rectangle
yTop
The
rectangle passed is considered "exclusive" on the right and top sides. If
the rectangle represents the bounding box of a graphic object to be drawn,
the drawing might include the right and top sides. In this case, the caller
should "inflate" the top and right sides by one unit in device-coordinate
space.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD=NGreRectInRegion.
rc (LONG) - returns
Return
codes.
This function returns an integer (lInside) indicating whether the rectangle
is inside the region:
RRGN_ERROR
RRGN_INSIDE
RRGN_PARTIAL
RRGN_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: GreRectInRegion Return Value - rc]
[Next: GreRectInRegion - Topics]