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

Filter_RegisterPostFilter

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Filter Manager
» SWI Calls
» Filter_RegisterPostFilter

Filter_RegisterPostFilter

(SWI &42641)
Entry  
R0 Pointer to zero terminated filter name
R1 Address of Post Filter Code
R2 Value to be passed to R12
R3 Task handle of task to which filter is applied, or 0 for all tasks
R4 Poll Mask (value of 1 masks the event – same as Wimp_Poll)
Exit
All registers preserved

Use

The purpose of this call is to add a new filter to the list of post-filters.

Notes

The address pointed to by R1 will be called whenever the Wimp is about to return to the task who’s handle is passed in R3 from Wimp_Poll with R12 equal to the value of R2 when this SWI is called.

Entry On entry to the routine pointed to by R1
R0
|<^. Event reason code (as from Wimp_Poll)
R1 Pointer to User’s event buffer.
R2 Task handle for task to which the return is made
Exit  
The routine may modify the reason code in r0 and the contents of the buffer pointed to by R1 to provide a new event
It must preserve R1 and R2

See also

  • Filter_DeRegisterPostFilter
  • Filter_DeRegisterPreFilter
  • Filter_RegisterPreFilter
  • Poll Mask
Revised on December 13, 2009 14:24:45 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: *Filters, The Filter Manager SWI Calls, Post Filter Code, Filter_DeRegisterPostFilter, Filter_RegisterPreFilter, Filter_DeRegisterPreFilter

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