Blocks the currently connected host presentation space (PS) from user input.
This function requires a prerequisite call to the CONNECT PRESENTATION SPACE (1) function.
hllc (func, apistring, len, ret) int *func; char *apistring; int *len; int *ret;
Supply the following parameters to invoke the RESERVE function:
|func||Specifies the number of the function called; must be 11 for the RESERVE function.|
|apistring||Does not apply for this function.|
|len||Does not apply for this function.|
|ret||Does not apply for this function.|
|ret|| The following codes are valid:
The RESERVE function blocks the currently connected host PS from user input. When your HLLAPI program sends a series of transactions to the host, you can use the RESERVE function to prevent the user from gaining access to that session until your program finishes.
The reserved host PS remains blocked until one of the following occurs:
Keyboard input entered by the user while the RESERVE function is in effect is lost.
The RESERVE function blocks out both mouse and keyboard inputs. The application must release the PS before any mouse or keyboard inputs will be accepted.
CONNECT PRESENTATION SPACE (1) function, DISCONNECT PRESENTATION SPACE (2) function,RELEASE (12) function and RESET SYSTEM (21) function.