HP-UX SNAplus2 R7 LUA Programmer's Guide

Designing and Writing LUA Applications
LUA Entry Points for Windows Applications
Note
Because of the way HP-UX callback routines operate, it is possible that the applications
callback routine will be called before control returns to the application from its initial
function call for the verb. This means that, if the callback routine modies or deletes the
returned VCB, the programs main thread of execution may be unable to check the VCB
parameters to determine that the verb is operating asynchronously. You may need to take
account of this in your application design.
Returned Values
There are no returned values.
2.2 LUA Entry Points for Windows Applications
WINDOWS
A Windows application accesses LUA using the following functions:
RUI
Issues an RUI verb. If the verb completes asynchronously, LUA indicates the completion by signaling an
event handle supplied by the application.
WinRUIStartup
Registers the application as a Windows RUI user, and determines whether the LUA software supports the
level of function required by the application.
WinRUI
Issues an RUI verb. If the verb completes asynchronously, LUA will indicate the completion by posting a
message to the application window.
WinRUIGetLastInitStatus
Checks the status of an RUI session (initiated by a previous RUI_INIT verb that is still outstanding), requests
notication of changes to the session status, or cancels this notication.
WinRUICleanup
Unregisters the application when it has nished using RUI .
GetLuaReturnCode
Generates a printable character string for the primary and secondary return codes obtained on an LUA verb.
SLI
Issues an SLI verb. If the verb completes asynchronously, LUA indicates the completion by signaling an
event handle supplied by the application.
WinSLIStartup
Registers the application as a Windows SLI user, and determines whether the LUA software supports the level
of function required by the application.
WinSLI
27