## Display Device Driver Reference for OS/2

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

### VIDEOSTATE

The VIDEOSTATE data structure receives information for the mode to be saved .

    typedef struct _VIDEOSTATE {

      ULONG         fStateFlags;     /*  Flag indicating what to save. */

      MODEID        miState;         /*  Contains the mode ID for the mode to be saved. */

      PVOID         pModeData;       /*  Pointer to set mode command sequence. */

      ULONG         ulVRAMSaveSize;  /*  Number of bytes per page to save. */

      PVRAMDATA     pVRAM;           /*  Pointer to video memory. */

      PCLUTDATA     pCLUT;           /*  Pointer to palette data. */

      PFONTDATA     pFONT;           /*  Pointer to font data. */

    } VIDEOSTATE;

    typedef   VIDEOSTATE   * FAR   * PVIDEOSTATE ;