## Graphics Adapter Device Driver Reference

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

### GHI_CMD_BANK

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

GHI_CMD_BANK is optional and is called to set or get the region or bank number of the active area of 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_BANK. */

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

    PVOID    pOut;        /*  Pointer to a HWBANKOUT data structure. */

    ULONG    rc;          /*  Return codes. */

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