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 Shutdown Types

Programmer's Reference Manuals
» Part 7 - The Desktop
» The TaskManager
» SWI Calls
» TaskManager_Shutdown
» TaskManager Shutdown Types

TaskManager Shutdown Types

Bit Meaning when set
0 Do not display restart dialog window
1 Do not broadcast Message_PreQuit
2 Set flag in CMOS as portable PowerDown
3 Send a Message_Shutdown
4 Reject OS_UpCall 1 & 2 reason codes
5 Reboot machine once shutdown is complete1
6-31 Must be 0

1 RISC OS 4.01 onwards

Notes

If bit 2 is set, then it is flagged in CMOS that the last shutdown was forced by a low battery, and a message stating this reason will be displayed upon next Desktop start.

See also

  • TaskManager_EnumerateTasks
  • TaskManager_Shutdown
  • TaskManager_TaskNameFromHandle
Created on September 21, 2009 13:32:06 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: TaskManager_Shutdown

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