8. LHAPI

The System Manager's Lotus Handheld Application Programming Interface (LHAPI) services provide a set of function calls to simplify building an application's user interface and to handle keyboard input. These services provide menu-building functions, editing and display functions, window handling functions, as well as graphic display functions.

Each of the LHAPI services is prefaced with a Distance constant in order to allow for mixed-memory model applications. A developer can selectively set this constant to either "_near" or "_far", or leave it NULL in order to have all calls to LHAPI use the same model as that specified to the compiler.

As defined in Microsoft C Version 6.0, NULL is only used with pointers. Set any other variable to 0 (zero) in order to clear it.

Note that the system assumes it is in the following state:

All LHAPI-provided functions return with the graphics parameters set this way, and any functions that change these parameters should restore them.

LHAPI Overview

Service Overview

LHAPI Structures

Messages

Call Descriptions