Documentation: TaskManager_TaskNameFromHandle
Programmer’s Reference Manuals
» Part 7 – The Desktop
» The TaskManager
» SWI Calls
» TaskManager_TaskNameFromHandle
TaskManager_TaskNameFromHandle
(SWI &42680)
| Entry | |
|---|---|
| R0 | Task name |
| Exit | |
|---|---|
| R0 | Pointer to task name |
Use
The purpose of this call is to return the description string which the task used when it called Wimp_Initialise.
Notes
This is the string that is displayed in the Task Manager’s window. A copy of the string should be made if you wish to keep it.
If a Message_TaskInitialise has just been received by a task, then this SWI may not return a valid name for the same handle since the TaskManager itself may not have received the message yet. As the task name is supplied in the message, this should not be a problem.