Showing changes from revision #5 to #6:
Added | Removed | Changed
Entry | |
---|---|
R0 | 0 if Wimp_CloseDown |
>0 if starting new task | |
R1 | 83 (&53) |
R2 | Taskhandle |
Exit | |
---|---|
R0 | Preserved, or set to |
This is used to notify when the Window Manager is about to close a task.
This service call is broadcast when a task exits using Wimp_CloseDown, or when Wimp_Initialise is called from within a task that is already initialised.
If a task exits without calling Wimp_CloseDown or if an error occurs and the task does not trap it, then the Wimp will call this service so that it still has a chance to shut any jobs it may have active.
If the ‘starting task’ form of this service is called then the usual response is to return an error in R0 similar to ‘Wimp is currently active’.