## Presentation Device Driver Reference for OS/2

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

### SCREENRESOLUTION

Output from OS2_PM_DRV_QUERYSCREENRESOLUTIONS is returned in an array of SCREENRESOLUTION structures, following the SCREENRESCOUNT structure.

    typedef struct _SCREENRESOLUTION {

      ULONG     width;      /*  Width of the device, in pels. */

      ULONG     height;     /*  Height of the device, in pels. */

      ULONG     colors;     /*  Number of colors supported in this mode. */

      ULONG     planes;     /*  Number of display planes in this mode. */

      ULONG     floptions;  /*  Optional information for each resolution. */

    } SCREENRESOLUTION;

    typedef   SCREENRESOLUTION   * PSCREENRESOLUTION ;