RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_CloseDown

WindowManager
» 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 December 9, 2013 20:10:33 by Steve Pampling (1551)? (81.129.95.225)
Edit | Back in time (6 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager SWI Calls, WindowManager Keyboard Input And Text Handling, Service_StartWimp, Wimp_Initialise, Message_TaskCloseDown, Message_Quit, Service_StartFiler, WindowManager Relocatable Modules, Service_WimpCloseDown

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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