The :SET_RESOLUTION command is used to inform the 32-bit graphics engine of the initial display resolution for the display driver that is being installed. This command is only necessary for display drivers that can support multiple display resolutions and use the DspDefaultResolution API to determine (during their initialization) which resolution to display. That API was described earlier in this chapter.

The parameters associated with this command are listed in the lines that follow the :SET_RESOLUTION command line. Each parameter is specified as a <keyword> = <value> pair.

The following list includes the parameters that must be specified after the :SET_RESOLUTION command line. All the parameter values in this list are numeric values and are specified as unsigned decimal numbers.

WIDTH

HEIGHT COLORS PLANES

Example:

    :SET_RESOLUTION
    WIDTH=1024
    HEIGHT=768
    COLORS=256
    PLANES=1


[Back: SET_DRIVER]
[Next: Creating a Display Driver Installation Package]