Option
flags.
These flags determine how the polygons are filled:
POLYGON_ALTERNATE
Fill is performed by using the
alternate mode.
POLYGON_WINDING
Fill is performed by using
the winding mode.
POLYGON_BOUNDARY
POLYGON_NOBOUNDARY
Do not draw boundary lines.
paPolygon (PPOLYGON) - input
Pointer
to an array of POLYGON structures:
ulPoints
Number of points in this polygon
aPointl
Array of points defining polygon
If
COM_TRANSFORM is not set, the function expects the points to be in screen
coordinates.
cPolygons (LONG) - input
Number
of POLYGON structures.
When this is passed as 0, no action is taken except to return Successful.
pInstance (PVOID) - input
Pointer
to instance data.
lFunction (ULONG) - input
High-order
WORD=flags; low-order WORD = NGrePolygonSet.
rc (LONG) - returns
Return
codes.
This function returns an integer (cHits) indicating, where appropriate,
whether correlation hits were detected:
GPI_OK
GPI_HITS
Successful with correlate hit (returned
by display drivers when the correlate flag is ON, and a hit is detected)
GPI_ERROR
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: GrePolygonSet Return Value - rc]
[Next: GrePolygonSet - Remarks]