WGX Logo WGX library

Architecture - Reference Manual - Guides

Internationalization

Functions

BOOL __stdcall WgxBuildResourceTable (PWGX_I18N_RESOURCE_ENTRY table, short *lng_file_path)
 Adds localization strings from the file to the table.
void __stdcall WgxApplyResourceTable (PWGX_I18N_RESOURCE_ENTRY table, HWND hWindow)
 Applies a i18n table to the dialog window.
short *__stdcall WgxGetResourceString (PWGX_I18N_RESOURCE_ENTRY table, short *key)
 Retrieves a localization string.
void __stdcall WgxDestroyResourceTable (PWGX_I18N_RESOURCE_ENTRY table)
 Destroys an i18n table.

Function Documentation

BOOL __stdcall WgxBuildResourceTable ( PWGX_I18N_RESOURCE_ENTRY  table,
short *  lng_file_path 
)

Adds localization strings from the file to the table.

Parameters:
[in,out] table pointer to the i18n table.
[in] lng_file_path the path of the i18n file.
Returns:
Boolean value. TRUE indicates success.
Note:
All lines in i18n file must be no longer than 8189 characters. Otherwise they will be truncated before an analysis.

Definition at line 107 of file i18n.c.

void __stdcall WgxApplyResourceTable ( PWGX_I18N_RESOURCE_ENTRY  table,
HWND  hWindow 
)

Applies a i18n table to the dialog window.

Parameters:
[in] table pointer to the i18n table.
[in] hWindow handle to the window.

Definition at line 136 of file i18n.c.

short* __stdcall WgxGetResourceString ( PWGX_I18N_RESOURCE_ENTRY  table,
short *  key 
)

Retrieves a localization string.

Parameters:
[in] table pointer to the i18n table.
[in] key pointer to the key string.
Returns:
A pointer to the localized string if available or to the default string otherwise.

Definition at line 158 of file i18n.c.

void __stdcall WgxDestroyResourceTable ( PWGX_I18N_RESOURCE_ENTRY  table  ) 

Destroys an i18n table.

Parameters:
[in] table pointer to the i18n table.

Definition at line 178 of file i18n.c.


Generated on Sat May 29 23:06:45 2010 for WGX by doxygen 1.6.2