RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Message_DataSaveAck

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» Messages
» Message Codes
» Message_DataSaveAck

Message_DataSaveAck

(Code &2)

Message Block
+20 Destination window handle
+24 Destination icon handle
+28 Destination screen x
+32 Destination screen y
+36 Estimated size, or -1 if unsafe
+40 Filetype of data
+44 Full leafname, or "<Wimp$Scrap>"

Use

This message is used to reply to a Message_DataSave message to indicate that the receiver should save their data to the specified file.

Notes

Words at 20 to 32 are preserved from the original message.

When the filer replies using this message, it replaces the leafname from the DataSave message with the full pathname of the file, and leaves the word at 36 as the estimated file size.

Normal action on receiving a DataSave message:
  • Alter the pathname to "<Wimp$Scrap>"
  • Set the word at 36 to -1, to indicate that the file will be temporary
  • Send this message in reply
Possible responses from other task:
  • Task sends Message_DataLoad message (data written to a specified file)
  • Task does not reply (error saving data / not listening)

See also

   .