Difference between revisions of "LocalizeMessage1"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = LocalizeMessage1 | index = 0x12FC | signature = int LocalizeMessage1(int msgno, char* result) | header = fxcg/display.h | parameters = * '''msgno''' - numbe...")
 
Line 5: Line 5:
 
| header = fxcg/display.h
 
| header = fxcg/display.h
 
| parameters = * '''msgno''' - number of the message to display. To see all the messages and their numbers, use the [[TestMode]] or an add-in like [http://www.cemetech.net/scripts/countdown.php?/prizm/tools/PrintXY_2_Ref.zip&path=archives this one].
 
| parameters = * '''msgno''' - number of the message to display. To see all the messages and their numbers, use the [[TestMode]] or an add-in like [http://www.cemetech.net/scripts/countdown.php?/prizm/tools/PrintXY_2_Ref.zip&path=archives this one].
* '''result''' - pointer to a buffer, with a size of at least 88 bytes, to which the multi-byte string will be copied.
+
* '''result''' - pointer to a buffer, with a size of at least 88 bytes, to which the [[Multi-byte_strings|multi-byte string]] will be copied.
 
| synopsis = Gets the message corresponding to the given number, in the language selected by the user in the Language screen (System menu or start-up wizard).
 
| synopsis = Gets the message corresponding to the given number, in the language selected by the user in the Language screen (System menu or start-up wizard).
 
}}
 
}}

Revision as of 07:07, 4 August 2014


Synopsis

Header: fxcg/display.h
Syscall index: 0x12FC
Function signature: int LocalizeMessage1(int msgno, char* result)

Gets the message corresponding to the given number, in the language selected by the user in the Language screen (System menu or start-up wizard).

Parameters

  • msgno - number of the message to display. To see all the messages and their numbers, use the TestMode or an add-in like this one.
  • result - pointer to a buffer, with a size of at least 88 bytes, to which the multi-byte string will be copied.