HP-UX SNAplus2 R7 LUA Programmer's Guide
RUI Verbs
RUI_TERM
UNIX
A pointer to a callback routine that LUA will call to indicate completion if the verb completes asynchronously.
WINDOWS
If the VCB is used in an RUI function call, set this field to an event handle. If the VCB is used in a WinRUI
function call, this field is reserved.
For more information, see Chapter 2, Designing and Writing LUA Applications.
4.7.2 Returned Parameters
LUA always returns the following parameter:
lua_flag2.async
This flag is set to
1
if the verb completed asynchronously, or
0 if the verb completed synchronously.
Other returned parameters depend on whether the verb completed successfully; see the following sections.
Successful Execution
If the verb executes successfully, LUA returns the following parameters:
lua_prim_rc
LUA_OK
Unsuccessful Execution
If a verb does not complete successfully, LUA returns a primary return code to indicate the type of error and a
secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
The following return codes indicate that the verb did not complete successfully because a supplied parameter was
in error:
lua_prim_rc
LUA_PARAMETER_CHECK
lua_sec_rc
Possible values are:
LUA_BAD_SESSION_ID
The lua_sid parameter did not match the session ID of any active LUA LU session.
UNIX
LUA_INVALID_POST_HANDLE
The lua_post_handle parameter was not a valid pointer to a callback routine.
LUA_RESERVED_FIELD_NOT_ZERO
A reserved field in the verb record, or a parameter that is not used by this verb, was set to a nonzero
value.
LUA_VERB_LENGTH_INVALID
96