## Graphics Adapter Device Driver Reference

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

### VMI_CMD_BANK

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

VMI_CMD_BANK is called to set or get the region or bank number of the video display. VMAN passes this command directly to the GRADD chain identified by the GRADD ID provided by the caller.

    #include <GRADD.h>

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

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

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

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

    ULONG    rc;          /*  Return codes. */

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