32-Bit Interface

EAt
E is the presentation space short name. The keystrokes are returned as ASCII (A), and the returned key is the lowercase letter t. (Bytes 7–11 = X'00').
EM@2
E is the presentation space short name. The keystrokes are returned as mnemonics, and the returned key is PF2 (Bytes 8–11 = X'00').
Return Code:
The following codes are valid:
Return Code Explanation
0 The Get Key function was successful.
1 An incorrect presentation space was specified.
5 You specified the AID only option under the Start Keystroke Intercept (50) function, and non-AID keys are inhibited by this session type when EHLLAPI tries to write incorrect keys to the presentation space.
8 No prior Start Keystroke Intercept (50) function was called for this presentation space.
9 A system error was encountered.
20 An undefined key combination was typed.
25 The requested keystrokes are not available on the input queue.
31 Keystroke queue overflowed and keystrokes were lost.