Documentation: 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.