NvtSetDisplayEmulation
BOOL NvtSetDisplayEmulation(
HDISPLAY hDisplay,  
UINT nEmulation  
);

The NvtSetDisplayEmulation function specifies the type of terminal emulation to be performed by the virtual display.

Parameters

hDisplay
Handle to the virtual display.
nEmulation
Identifies the virtual terminal emulation type. The following emulation types are currently supported.
Value Description
NVT_EMULATION_NONE The virtual display does not emulate any specific terminal type, and does not process any escape sequences.
NVT_EMULATION_ANSI The virtual display will process ANSI escape sequences. The default keymap for an ANSI console is loaded.
NVT_EMULATION_VT100 The virtual display will process DEC VT100 escape sequences. The default keymap for a VT100 terminal is loaded.
NVT_EMULATION_VT220 The virtual display will process DEC VT220 escape sequences. The default keymap for a VT220 terminal is loaded.

Return Value

If the function succeeds, the return value is non-zero. If the function fails, it returns zero.

Remarks

Changing the emulation type will not affect the current display.

Requirements

Client: Requires Windows Vista, Windows XP or Windows 2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnvtav6.lib.

See Also

NvtGetDisplayEmulation, NvtGetDisplayMode, NvtResetDisplay, NvtSetDisplayMode


Copyright © 2008 Catalyst Development Corporation. All rights reserved.