Entry | |
---|---|
R0 | Pointer to zero terminated filter name |
R1 | Address of Pre Filter Code |
R2 | Value to be passed to R12 |
R3 | Task handle of task to which filter is applied, or 0 for all tasks |
Exit |
---|
All registers preserved |
The purpose of this call is to add a new filter to the list of pre-filters.
The address pointed to by R1 will be called with R12 equal to the value of R2, whenever the task whose handle is passed in R3 calls Wimp_Poll.
See Pre Filter Code for details of how the filter routine must behave.