The GetEmulation method returns the current virtual
terminal emulation type.
Parameters
None.
Return Value
If the method succeeds, the return value is the terminal emulation
type and may contain one of the following values:
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. |
If the method fails, because an invalid display handle was
specified, the return value will be NVT_ERROR.
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
Create, Reset,
SetEmulation
|