Jump to content

SCREENRESOLUTION: Difference between revisions

From EDM2
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 ..."
 
(No difference)

Latest revision as of 16:53, 8 February 2020

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;