Multiple-Resolution Drivers

All Windows 95 drivers support multiple-resolutions. At boot time, the driver must call the VDD function VDD_GET_DISPLAY_CONFIG to get the current color depth, resolution, and other information provided in the DISPLAYINFO structure. If a user wants to change the resolution, the system calls the display driver function ValidateMode multiple times to obtain a list of resolutions that the driver supports. ValidateMode allows the driver to accept or reject the specified resolution. Once the user has picked a resolution from the list, the system calls the function ReEnable and at this point the driver must obtain the latest DISPLAYINFO.

See Also

VDD_GET_DISPLAY_CONFIG, DISPLAYINFO, ValidateMode