Locale information functions

The following functions are used to obtain information about locales (both system and user).

UniCreateLocaleObject
Creates a LocaleObject handle for an existing locale.
UniFreeLocaleInfo
Frees memory allocated by UniQueryLocaleInfo
UniFreeLocaleObject
Frees a LocaleObject allocated by UniCreateLocaleObject.
UniFreeMem
Frees memory allocated by UniQueryLocaleObject, UniLocaleTokenToStr, or UniQueryLocaleItem.
UniLocaleStrToToken
Obtains the LocaleToken corresponding to the specified locale name.
UniLocaleTokenToStr
Obtains the locale name corresponding to the specified LocaleToken.
UniMapCtryToLocale
Obtains the locale name corresponding to the specified OS/2 country code.
UniQueryCountryName
Translates a country name into the specified language.
UniQueryLanguageName
Translates a language name into the specified language.
UniQueryLocaleInfo
Queries the specified locale's currency- and number-format conventions.
UniQueryLocaleItem
Queries the value of the specified item within a locale.
UniQueryLocaleList
Generates a list of all locales (system, user, or both) defined on the system.
UniQueryLocaleObject
Obtains the locale name or LocaleToken corresponding to the specified LocaleObject.
UniQueryLocaleValue
Queries the value of the specified integral item within a locale.

User locale functions

The following functions are specific to the manipulation of user locales.

UniCompleteUserLocale
Saves all changes made by UniSetUserLocaleItem, UniMakeUserLocale, and UniDeleteUserLocale.
UniDeleteUserLocale
Deletes the specified user locale.
UniMakeUserLocale
Creates a new user locale.
UniSetUserLocaleItem
Modifies the specified item within a user locale.


[Back] [Next]