Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | Last known Wimp |
R1 | “TASK” (&4B534154) |
R2 | Pointer to description string to display in Task Manager |
R3 | Pointer to list of acceptable User Messages |
Exit | |
---|---|
R0 | Current Wimp version x 100 |
R1 | Task handle |
The purpose of this call is to register a task with the Wimp.
This call should only be used once when starting up. And before a task closes, it should call Wimp_CloseDown.
R3 The stores input R0 value should indicate the list version of user the message Wimp numbers that are your acceptable. application This was is developed terminated for. by The Wimp will use this information to adjust its behaviour, so that your program can still run as intended when running under a 0 newer word, Wimp. unless the value in R3 is less than 300.
A The value interpretation of 0 in R3 means depends that on no messages are classified as important except for the ‘Quit’ input message. R0 value (and ultimately, on whether the current Wimp version is >= R0):
When a list of user messages is supplied via R3, the task will not be polled in for other messages. This results in a more responsive system.
The task can add or delete messages that it can respond to by Wimp_AddMessages and Wimp_RemoveMessages.