Writing LUA Programs

The LUA contains one main DLL, for RUI verbs and for SLI verbs. An LUA application program calls this DLL to issue verbs.

The LUA application program sets selected fields in a verb control block and calls the RUI or SLI, passing a pointer to the verb control block. The fields in the verb control block define the requested action to the LUA. The LUA modifies fields in the verb control block to indicate the results of the action before the LUA returns control to the application program. The application program can then use the returned parameters from the verb control block in subsequent processing.

Header Files and Libraries for RUI APIs and Header Files and Libraries for SLI APIs show source module usage of supplied header files and libraries needed to compile and link RUI and SLI programs.

Table 1. Header Files and Libraries for RUI APIs
Operating System Header File Library DLL Name
WINNT WINLUA.H WINRUI32.LIB WINRUI32.DLL
Table 2. Header Files and Libraries for SLI APIs
Operating System Header File Library DLL Name
WIN32 WINLUA.H WINSLI32.LIB WINSLI32.DLL
WIN3.1 WINSLI.H WINSLI.LIB WINSLI.DLL
OS/2® LUA_C ACSSLI.LIB ACSSLI.DLL
Note:
SLI API is supported on the server and is not supported by the Communications Server clients.

*WIN32 = Windows 2000 and Windows XP

*WIN3.1 = Windows® 3.1 (available only on Communications Server)