Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | 13 (reason code) |
R1 | Pointer to file name |
R2 | Pointer to output buffer |
R3 | Size of buffer, or |
0 to read size required |
Exit | |
---|---|
R0 | Corrupt |
R3 | Space left in buffer, or |
Required size |
This call with a reason code of 13, adds a sprite file suffix onto a pathname
It uses a multi-pass strategy so that it will fall back where a particular file is not available.
For more information on sprite files and use of sprite file suffixes, please read the page about system icons.
Due to a possibility that other versions of RISC OS use reason code 13 to provide unrelated functionality, it is advisable to use Wimp_Extend (sprite suffix) (RISC OS Select version) unless a check for a suitable OS version is made before the call.