RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: TaskManager_EnumerateTasks

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The TaskManager
» SWI Calls
» TaskManager_EnumerateTasks

TaskManager_EnumerateTasks

(SWI &42681)

Entry
R0 0 for first call, or value from previous
R1 Pointer to buffer
R2 Size of buffer

Exit
R0 Value to use for next call, or <0 for no more
R1 Pointer to end of buffer filled
R2 Bytes not used
Buffer Each active task block contains
+0 Task handle
+4 Pointer to task name (which should be copied if you use it)
+8 Slot size (in bytes)
+12 Flags (Bits 0 and 1)
Bit 0 1=> module task or 0=> application task
Bit 1 1=> slot bar can be dragged or 0=> slot bar fixed

Use

The purpose of this call is to return information about all active tasks.

Notes

On exit, the buffer is filled details about each active task using a 4 word block.

See also

   .