## Graphics Adapter Device Driver Reference

[prev][next][parent][TOC]

### GHI_CMD_TEXT - Syntax

Description:

GHI_CMD_TEXT is optional and is called to draw text to the video display. Each textblt provides a string of characters, called glyphs, to blit to the video display. The GRADD can store the glyphs in an offscreen video cache. If another textblt has glyphs already stored in cache, the GRADD can transfer video memory to video display rather than taking the glyph from system memory. The GRADD can return this function call to VMAN for simulation.

    #include <GRADD.h>

    GID      gid;         /*  ID of the GRADD. */

    ULONG    ulFunction;  /*  Set equal to GHI_CMD_TEXT. */

    PVOID    pIn;         /*  Pointer to a TEXTBLTINFO data structure. */

    PVOID    pOut;        /*  NULL; no output structure needed. */

    ULONG    rc;          /*  Return codes. */

    rc = HWENTRY(gid, ulFunction, pIn, pOut);