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_CloseDown

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

Wimp_ CloseDown

(SWI &400DD)
Entry
R0 Task handle returned by Wimp_Initialise
R1 “TASK” (&4B534154)
Exit
R0 Corrupt

Use

The purpose of this call is to inform the Wimp that a task is about to terminate.

Notes

This must be called immediately before the task terminates by calling OS_Exit. If it is not, then the task has a last chance to trap its shutdown by means of the Service_WimpCloseDown (which will also be called if the task exits normally).

The task handle and magic word are only required if closing a task which is not presently paged in. e.g a module.

See also

  • OS_Exit
  • Service_WimpCloseDown
  • Wimp_Initialise
Revised on June 17, 2009 21:02:12 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager SWI Calls, The Window Manager Keyboard Input And Text Handling, The Window Manager Relocatable Modules, Service_StartWimp, Service_WimpCloseDown, Wimp_Initialise, Message_Quit, Message_TaskCloseDown, Service_StartFiler

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