BOOL SetEmulation( |
|
UINT nEmulation |
|
); |
The SetEmulation method specifies the type of terminal
emulation to be performed by the virtual display.
Parameters
- 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 method succeeds, the return value is non-zero. If the
method fails, it returns zero.
Remarks
Changing the emulation type will not affect the current
display.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csnvtv10.lib
See Also
GetEmulation,
GetMode, Reset,
SetMode
|