High-Level Language Application Programming Interface
4-81
START KEYSTROKE INTERCEPT (50)
Purpose
Enables an HLLAPI application to filter any keystrokes sent to a session by a user.
Prerequisite Calls
This function requires no prerequisite calls to other functions.
Syntax
hllc (func, apistring, len, ret)
int *func;
char *apistring;
int *len;
int *ret;
Supplied Parameters
Supply the following parameters to invoke the START KEYSTROKE INTERCEPT function:
func Specifies the number of the function called; must be 50 for the START
KEYSTROKE INTERCEPT function.
len Does not apply for this function.
ret Does not apply for this function.
apistring Specifies the attributes of the data string; the calling 6 character data string
contains:
Byte Definition
Position 1 One of the following:
• The one-character letter short session ID of the PS
• A blank or null indicating a function call against the
currently connected host PS
Position 2 A code character:
• D for AID keystrokes only
• L for all keystrokes
Positions 3–6 The data in these positions is ignored by HLLAPI. However,
no error occurs if a migrating program has data in these
positions. This data is accepted by HLLAPI to provide
compatibility with migrating applications.
Returned Parmeters
ret The following codes are valid:
0 Specifies that the START KEYSTROKE INTERCEPT
function was successful.
1 Specifies that the PS was invalid.
Comentarios a estos manuales