RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_Extend (sprite suffix)

WindowManager
» SWI Calls
» Wimp_Extend
» Wimp_Extend (sprite suffix)

Wimp_Extend (sprite suffix)

(SWI &400FB)
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

Use

This call with a reason code of 13, adds a sprite file suffix onto a pathname

Notes

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.

See also

  • System Icons
  • Wimp_Extend
  • Wimp_Extend (sprite suffix) (RISC OS Select version)
  • Wimp_Extend (stack information)
  • Wimp_Extend (window information)
Revised on December 5, 2021 16:29:10 by Steve Fryatt (216)? (51.148.152.237)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_Extend, Wimp Items, Wimp_Extend (stack information), Wimp_Extend (window information), Extend Block, WindowManager RISC OS System Icons, Wimp_Extend (sprite suffix) (RISC OS Select)

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
  • Export
Site design © RISC OS Open Limited 2018 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