Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to data structure |
R1 | Pointer to menu definition |
R2 | Pointer to buffer for result |
R3 | Size of buffer |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Pointer to the end of the data within the buffer provided in R2 upon entry |
R3 | Bytes remaining in buffer |
This SWI is used to create a menu structure from a skeleton menu of tokens.
If the menu item is writeable and indirected, the corresponding 3 words in the destination buffer should be set to correct values before calling this SWI.
If the menu item is indirected and not writeable then a pointer into the message file will be stored in the menu structure created.
If the message file is held in RMA this pointer (and hence the menu structure) will become invalid after Service_MessageFileClosed is issued – your application must trap this service call and delete the menu if it is issued.