NVT Mode Exceptions
The following functions perform differently while in NVT mode. The host may enter and exit NVT mode during your session, so do not assume that you will be in NVT mode only at the beginning of a session. Your application must be able to handle both modes.
Copy OIA (13)—The return value in the data_string is slightly different to let you determine whether the terminal is in NVT mode. Byte 82, labeled On-line and screen ownership (group 1), has the 0x01 bit on if the terminal is in NVT mode. This bit is normally reserved.
Copy Presentation Space (5) and Copy Presentation Space to String (8)—The return code in the ps_position value contains a 101 (decimal) if the terminal is in NVT mode. If the terminal is in 3270 mode, the standard values of 0, 1, 4, 5, and 9 apply.
Query Host Update (24)—The return code in the ps_position value contains a 101 (decimal) if the terminal is in NVT mode and the PS has not changed. It contains a 102 (decimal) if the terminal is in NVT mode and the PS has changed since the last time the query host was updated. If the terminal is in 3270 mode, the standard values of 0, 1, 8, 9, 21, 22, and 23 apply.
Query Session Status (22)—The return value in the data_string is slightly different to let you determine whether the terminal is in NVT mode. Byte 11, which provides the session characteristics, has the 0x01 bit on if the terminal is in NVT mode. This bit is normally reserved.
Send Key (3)—This function does not support any of the standard keyboard mnemonics except @E–(carriage return) and @D–(backspace).
Note: |
Do not send more than one carriage return per operation. Use the Query Host Update between CRs to synchronize with the host. |
Special EHLLAPI and WinHLLAPI Flags