## Graphics Adapter Device Driver Reference

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

### VRAMALLOCIN

Input packet to the GHI_CMD_VRAM function.

    typedef struct _VRAMALLOCIN {

      ULONG     ulLength;    /*  Size of the VRAMALLOCIN data structure, in bytes. */

      ULONG     ulFlags;     /*  Flag indicating type of VRAM allocation. */

      ULONG     ulID;        /*  ID required as input only on deallocation. */

      ULONG     ulFunction;  /*  Requested function: allocate, deallocate, or query. */

      ULONG     ulHandle;    /*  Handle returned from registering. */

      ULONG     ulSize;      /*  Requested allocation size in bytes. */

      ULONG     ulWidth;     /*  Requested allocation width in pixels. */

      ULONG     ulHeight;    /*  Requested allocation height in scanlines. */

    } VRAMALLOCIN;

    typedef   VRAMALLOCIN   * PVRAMALLOCIN ;