Simulation support:

This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.

Description:

GreCharRect draws a rectangle of character cells from the LVB to the device context. The attributes for each character are applied by the handling routine as the character is drawn.

#define INCL_AVIOP
#include <os2.h>

HDC                       hdc;        /*  The device context handle. */
VioPresentationSpace     *pVioPS;     /*  A pointer to the Vio presentation space. */
LPGridRectRef             pCharRect;
PVOID                     pInstance;  /*  A pointer to instance data. */
ULONG                     lFunction;  /*  High-order WORD=flags; low-order WORD=NGreCharRect. */
LONG                      rc;         /*  Return codes. */

rc = GreCharRect(hdc, pVioPS, pCharRect, pInstance,
       lFunction);


[Back: GreCharRect]
[Next: GreCharRect Parameter - hdc]