## Graphics Adapter Device Driver Reference

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

### GHI_CMD_SETPTR

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

GHI_CMD_SETPTR is optional and is called to set the pointer bit masks. Both monochrome and color pointers can be set.

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_SETPTR. */

    PVOID    pIn;         /*  Pointer to an HWSETPTRIN data structure. */

    PVOID    pOut;        /*  Pointer to an HWSETPTROUT data structure. */

    ULONG    rc;          /*  Return codes. */

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