BOOL CLIPOBJ_bEnum(
IN CLIPOBJ *pco, | |
IN ULONG cj, | |
OUT ULONG *pv | |
); |
CLIPOBJ_bEnum enumerates a batch of rectangles from a specified clip region. A prior call to CLIPOBJ_cEnumStart determines the order of enumeration.
The return value is TRUE if the driver must call this function again for more enumeration data, or FALSE if the enumeration is complete. It is possible for CLIPOBJ_bEnum to return TRUE with the number of clipping rectangles equal to zero. In such cases, the driver should call CLIPOBJ_bEnum again without taking any action.
A possible loop structure for calling this function follows:
do { bMore = CLIPOBJ_bEnum(pco, sizeof(buffer), &buffer.c); for (i = 0; i < buffer.c; i++) { . . . } } while (bMore);
The count of objects written to the buffer is written to the buffer itself.