Syntax
VM_RESULT vm_res_init(
    VMUINT32 language_id
);
ContentsIndex
PreviousUpNext
vm_res_init
Syntax
VM_RESULT vm_res_init(
    VMUINT32 language_id
);
Description

Call this function prior to any other resource APIs. This function initializes the resource module, and load language-specific string data in memory.

Parameters
Parameters 
Description 
VMUINT32 language_id 
[IN] A language id used to specific which string table in the resource file to be loaded. Pass 0 for English. For other languages, the actual numbers are described the ResEditor tool, or in the generated ref_list.txt, e.g. Spanish(34) shows that by passing 34 to language_id, the strings in the column of Spanish are loaded. 
Returns

VM_SUCCESS if successful. For error results, refer to VM_RES_RESULT.

File

vmres.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.