Reserve (11)
|
· | Connect (1) function is executed to a new session.
|
· | Disconnect Presentation Space (2) function is executed.
|
· | Release (12) function is executed.
|
· | Reset System (21) function is executed.
|
· | Start Keystroke Intercept (50) function is executed.
|
· | EHLLAPI application program is terminated.
|
3270
|
5250
|
Yes
|
Yes
|
|
Standard Interface
|
Enhanced Interface
|
Function Number
|
Must be 11
|
|
Data String
|
NA
|
|
Length
|
NA
|
|
PS Position
|
NA
|
|
Return Code
|
Explanation
|
0
|
The Reserve function was successful.
|
1
|
Your program is not connected to a host session.
|
5
|
Presentation space cannot be used.
|
9
|
A system error was encountered.
|
1. | If your EHLLAPI application program is sending a series of transactions to the host, you might need to prevent the user from gaining access to that session until your application processing is complete.
|
2. | The keyboard input that a user makes while the keyboard is locked by this function is enqueued and processed after the session is terminated.
|
3. | This function locks both the mouse and the keyboard input. The application program must unlock the presentation space to enable either the mouse or the keyboard input.
|