NvtSetDisplayEmulation Function  
 
BOOL WINAPI 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 7, Windows Vista or Windows XP.
Server: Requires Windows Server 2008 or Windows Server 2003.
Header: Include cstools7.h.
Library: Use csnvtav7.lib.

See Also

NvtGetDisplayEmulation, NvtGetDisplayMode, NvtResetDisplay, NvtSetDisplayMode