ESR_Locale API functions


Detailed Description

Locale support functions.


Enumerations

enum  ESR_Locale {
  ESR_LOCALE_EN_US,
  ESR_LOCALE_FR_FR,
  ESR_LOCALE_DE_DE,
  ESR_LOCALE_EN_GB,
  ESR_LOCALE_IT_IT,
  ESR_LOCALE_NL_NL,
  ESR_LOCALE_PT_PT,
  ESR_LOCALE_ES_ES,
  ESR_LOCALE_JA_JP
}

Functions

ESR_SHARED_API LCHARESR_locale2str (const ESR_Locale locale)
ESR_SHARED_API
ESR_ReturnCode 
ESR_str2locale (const LCHAR *str, ESR_Locale *locale)


Enumeration Type Documentation

enum ESR_Locale

List of locales.

Enumerator:
ESR_LOCALE_EN_US  US English
ESR_LOCALE_FR_FR  France French
ESR_LOCALE_DE_DE  Germany German
ESR_LOCALE_EN_GB  UK English


Function Documentation

ESR_SHARED_API LCHAR* ESR_locale2str ( const ESR_Locale  locale  ) 

Given a locale, returns its string representation.

Parameters:
locale The locale to translate
Returns:
Locale string

ESR_SHARED_API ESR_ReturnCode ESR_str2locale ( const LCHAR str,
ESR_Locale locale 
)

Given a locale's string representation, returns the associated ESR_Locale handle.

Parameters:
str String representation of locale
locale [out] Resulting locale
Returns:
ESR_INVALID_ARGUMENT if specified local was not recognized


Generated on Thu May 1 15:37:26 2008 for SREC by  doxygen 1.5.3