SCREENRESOLUTION

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; 