Pointer
to a control structure containing additional parameters:
lStart
The rectangle number to start enumerating
(1 indicates start at the beginning). By updating this value, the function
can be called repeatedly to allow for more rectangles than can be stored
in the receiving buffer.
If parclRect is NULL, this field is always 1.
crc
The number of rectangles that can fit into the buffer
(at least 1).
If parclRect is NULL and the clip region is completely within prclBoundRect,
crc contains the value RRGN_INSIDE.
If parclRect is NULL and the clip region is completely outside prclBoundRect,
crc contains the value RRGN_OUTSIDE.
If parclRect is NULL and the clip region spans prclBoundRect, crc contains
the value RRGN_PARTIAL.
crcReturned
Number
of rectangles that were written into the buffer. If less than lStart, there
are no more rectangles to enumerate.
If parclRect is NULL and the clip region is completely within prclBoundRect,
crcReturned contains the value 1.
If parclRect is NULL and the clip region is completely outside prclBoundRect,
crcReturned contains the value 0.
If parclRect is NULL and the clip region spans prclBoundRect, crcReturned
contains the number of clip rectangles.
usDirection
The direction in which the rectangles are listed:
RECTDIR_LFRT_TOPBOT
Left-to-right, top-to-bottom
RECTDIR_RTLF_TOPBOT
Right-to-left, top-to-bottom
RECTDIR_LFRT_BOTTOP
Left-to-right, bottom-to-top
RECTDIR_RTLF_BOTTOP
Right-to-left, bottom-to-top
If parclRect is NULL, usDirection is not applicable.
[Back: GreGetClipRects Parameter - prclBound]
[Next: GreGetClipRects Parameter - parclRect]