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

Wimp_SetWatchdogState

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_SetWatchdogState

Wimp_SetWatchdogState

(SWI &400FA)
Entry
R0 0 to turn off, or
1 to turn on
R1 Password (must be same for off as for on)
Exit
R0 Preserved
R1 Preserved

Use

The purpose of this call is to implement a screenlocking mechanism, as found in screensavers and the alike.

Notes

It is advisable to implement a password when turning on the watchdog. The password must then be supplied before the watchdog can be turn off. This will also ensure that other tasks cannot over-ride a screenlock.

Created on June 12, 2009 22:28:22 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls

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