RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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

  • TaskManager_Shutdown
  • TaskManager_TaskNameFromHandle
Created on September 21, 2009 13:12:49 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The TaskManager SWI Calls, TaskManager_Shutdown, TaskManager Shutdown Types, TaskManager_TaskNameFromHandle

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys