Appendix A: System Routines — Apps
319
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
OO_InstallAppHookByName
(continued)
See Also: OO_InstallAppHook, OO_UninstallAppHook,
OO_UninstallAppHookByName
Example:
/* This single-attribute hook frame overrides the name of an app.
The app will appear as "New App" in the [APPS] menu
*/
FRAME(NewAppName, OO_SYSTEM_FRAME, NULL, OO_APP_NAME, 1)
ATTR(OO_APP_NAME, "New App")
ENDFRAME
pFrame hook;
.
.
.
/* Hook new name into app */
OO_InstallAppHookByName((UCHAR const *)"MYAPP", (pFrame)&NewAppName, &hook);