The header files do not contain function prototypes for the services. Instead, INTERFAC.H contains macro definitions that expand System Manager service calls into calls to a single service dispatch routine.
If a service is accidentally called with the incorrect number of parameters, it will not match the macro and the compiler will issue a warning about too few actual parameters for the macro.
However, a service that is accidentally called with an incorrect argument type, but with the correct number of parameters, may not be caught by the compiler due to the lack of a function prototype.
All pointers in System Manager service calls are Far pointers. However, the service macros contain casts of pointer arguments to far pointers. Consequently, near pointers can be used for data in cases where the compiler can supply the segment value due to the cast.
A number of calls listed in the INTERFAC.H file do not apply to applications designed for HP palmtop System Manager compliance (they remain listed for compatibility with HP 95LX System Manager). Do not use the following calls when designing applications for HP palmtops other than the HP 95LX: