Jump to content

SCREENRESOLUTION

From EDM2
Revision as of 17:53, 8 February 2020 by Martini (talk | contribs) (Created page with "Output from OS2_PM_DRV_QUERYSCREENRESOLUTIONS is returned in an array of SCREENRESOLUTION structures, following the SCREENRESCOUNT structure. ==Example Code== <PRE> typedef ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Example Code

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;