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

Service_WimpCloseDown

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» Service Calls
» Service_WimpCloseDown

Service_WimpCloseDown

(Service Call &53)
Entry
R0 0 if Wimp_CloseDown
>0 if starting new task
R1 83 (&53)
R2 Taskhandle
Exit
R0 Preserved, or set to Error Block? to stop start-up

Use

This is used to notify when the Window Manager is about to close a task.

Notes

This service call is broadcast when a task exits using Wimp_CloseDown, or when Wimp_Initialise is called from within a task that is already initialised.

If a task exits without calling Wimp_CloseDown or if an error occurs and the task does not trap it, then the Wimp will call this service so that it still has a chance to shut any jobs it may have active.

If the ‘starting task’ form of this service is called then the usual response is to return an error in R0 similar to ‘Wimp is currently active’.

See also

  • Service Calls
  • Wimp_CloseDown
  • Wimp_Initialise
Revised on December 9, 2009 23:22:47 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager Service Calls, Wimp_CloseDown, Service 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