Programming Guide



sm_do_uinstalls

Installs an application's event functions

void sm_do_uinstalls(void);

Environment

C only

Description

Event functions are installed with the library function sm_install. The call to this function is typically, but not necessarily, made by sm_do_uinstalls, whose source is in funclist.c.

sm_do_uinstalls is usually called by the main function. The provided source code calls the library function sm_install to install dummy function lists. You should replace these dummy calls with your own installation calls.

In general, you should install event functions after the call to sm_initcrt, which initializes the display. One exception applies: you should always install an initialization function before the call to sm_initcrt.

For more information about installing event functions, refer to "Installing Functions" in Application Development Guide.

See Also

sm_initcrt, sm_install