AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     Task handle returned by Wimp_Initialise
     R1 =     "TASK" (&4B534154)
<=     R0 corrupt

This must be called immediately before the task terminates by calling OS_Exit. If it is not, then the task has a last chance to trap its shutdown by means of the WimpCloseDown service (which will also be called if the task exits normally).

Task handle and magic word are only required if closing a task which is not presently paged in (eg a module).

See PRM 3, page 175.

[sh-index] Back to list of manuals