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

Page "Sprow (202)" does not exist. Please create it now, or hit the "back" button in your browser.

PollWord_NonZero

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_Poll
» Reason Codes
» PollWord_Non-Zero

PollWord_Non-Zero

(Reason Code 13)
Exit
Block
+0 Address of poll word
+4 Contents of poll word

Use

This code is returned from Wimp_Poll and indicates that the poll word is non-zero.

Notes

If bit 23 of the Poll Mask is set, then the poll word may be returned before window redraw requests and certain other messages have been issued by Wimp_Poll.

This reason code can be very useful to update the underlying data that is to be displayed, before the request to update the windows or icons are returned by Wimp_Poll.

This is used to transfer control to an applications foreground process, where control is currently in an interrupt routine, service call handler or such like.

There is no guarantee the duration until an application regains control, since other applications can take control away from the Wimp for unspecified amounts of time.

See also

  • Poll Mask
  • Reason Codes
  • Wimp_Poll
Revised on June 17, 2009 22:50:55 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: Reason Codes

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