## Graphics Adapter Device Driver Reference

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

### GHI_CMD_LINE - Syntax

Description:

GHI_CMD_LINE is optional and is called to draw lines to the video display. 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_LINE. */

    PVOID    pIn;         /*  Pointer to a LINEINFO or LINEINFO2 data structure. */

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

    ULONG    rc;          /*  Return codes. */

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