4.2 WFS_CMD_TTU_CLEARSCREEN

Description This command clears the specified area of the text terminal unit screen. The cursor is positioned to the upper left corner of the cleared area.

Input Param LPWFSTTUCLEARSCREEN lpClearScreen;

struct _wfs_ttu_clear_screen
{
WORD wPositionX;
WORD wPositionY;
WORD wWidth;
WORD wHeight;
} WFSTTUCLEARSCREEN, * LPWFSTTUCLEARSCREEN;

wPositionX
Specifies the horizontal position of the area to be cleared.

wPositionY
Specifies the vertical position of the area to be cleared.

wWidth
Specifies the width of the area to be cleared.

wHeight
Specifies the height of the area to be cleared.

Output Param None.

Error Codes There are no additional error codes generated by this command.

Events There are no additional events generated by this command.

Comments If the input parameter is NULL, the whole screen will be cleared.