## Presentation Device Driver Reference for OS/2

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

### VRAMALLOCIN

Input structure to GreEscape DEVESC_VRAMALLOC. Used for VRAM allocation and deallocation requests.

    typedef struct _VRAMALLOCIN {

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

      ULONG     ulFlags;     /*  Allocation request flag. */

      ULONG     ulID;        /*  Buffer ID. */

      ULONG     ulFunction;  /*  Indicates allocation status. */

      ULONG     ulHandle;    /*  VRAMREGISTER instance handle. */

      ULONG     ulSize;      /*  Size to allocate, in bytes. */

      ULONG     ulWidth;     /*  Width of the image, in pels. */

      ULONG     ulHeight;    /*  Height of the image, in scanlines. */

    } VRAMALLOCIN;

    typedef   VRAMALLOCIN   * PVRAMALLOCIN ;