AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
To register the task as MenuUtils client

*     R0 =     last MenuUtils version number known to task * 100                
     R1 =     initialisation type
*     R0 =     version number * 100
     R1,R2     preserved     

Use:     MenuUtil_Initialise should only be called once when the task starts up. It must be called after Wimp_Initialise has been called and before any other call to the MenuUtils module is made.
     MenuUtils performs all the closedown work automatically when the task finishes so no special MenuUtil_CloseDown SWI is provided.

Example code...
Example code (MenuUtil_Initialise)
Register the task with any version of the module

SYS "MenuUtil_Initialise"
[sh-index] Back to list of manuals