RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Message_SetAlarm 0

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» Messages
» Message Codes
» Message_AlarmSet
» Message_AlarmSet 0 (local time)

Message_AlarmSet 0 (local time)

(Code &500)
Message Block
+20 0 (set local time alarm)
+24 Year as low-byte, high-byte
+26 Month number (1 to 12)
+27 Date
+28 Hour
+29 Minute
+30 Name of application (null terminated)
+n Application’s identifier (null terminated)

Use

This message instructs !Alarm to set an alarm.

Notes

Name and identifier must each be 40 or less bytes.

Simple range checks are performed (e.g. an hour of 30 gives 6am the next day) but can still generate errors if the date is out with normal boundaries (<1900 or >2247).

The 6 byte block from +24 onwards is format used in the File format when saving the alarms.

See also

  • Message Codes
  • Message_AlarmSet
  • Wimp_Poll
Revised on June 28, 2009 13:47:35 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Message_AlarmSet

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

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