4.5 WFS_CMD_TTU_SET_RESOLUTION

Description This command is used to set the resolution of the display.

Input Param LPWFSTTURESOLUTION lpResolution;

typedef struct _wfs_ttu_resolution
{
WORD wSizeX;
WORD wSizeY;
} WFSTTURESOLUTION, * LPWFSTTURESOLUTION;

wSizeX
Specifies the horizontal size of the display of the text terminal unit (the number of columns that can be displayed)

wSizeY
Specifies the vertical size of the display of the text terminal unit (the number of rows that can be displayed)

Output Param None.

Error Codes The following additional error codes can be generated by this command:

Value Meaning

WFS_ERR_TTU_RESNOTSUPP The specified resolution is not supported by the display.

Events There are no additional events generated by this command.

Comments None.