Simulation support:
This function is simulated by a handling routine in the graphics engine.
Description
GrePolygonSet draws a set of closed polygons.
This function can be hooked by the presentation driver.
#define INCL_GRE_LINE
#include <os2.h>
HDC hdc; /* Device context handle. */
LONG flModel; /* Model flags. */
ULONG flOptions; /* Option flags. */
PPOLYGON paPolygon; /* Pointer to an array of POLYGON structures: */
LONG cPolygons; /* Number of POLYGON structures. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD = NGrePolygonSet. */
LONG rc; /* Return codes. */
rc = GrePolygonSet(hdc, flModel, flOptions,
paPolygon, cPolygons, pInstance, lFunction);