| 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 |
The purpose of this call is to return information about all active tasks.
On exit, the buffer is filled details about each active task using a 4 word block.