![]() | ![]() | Programming Guide |
Installs an application's event functions
void sm_do_uinstalls ( void );
C only
Event functions are installed with the library function
sm_install. The call to this function is typically, but not necessarily, made bysm_do_uinstalls, whose source is infunclist.c.
sm_do_uinstallsis usually called by the main function. The provided source code calls the library functionsm_installto 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 tosm_initcrt.For more information about installing event functions, refer to "Installing Functions" in Application Development Guide.