National Language Support (NLS) Functions

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The following table shows the National Language Support (NLS) functions with a description of the purpose of each.

CompareString

This function compares two character strings, using the locale specified by the given identifier as the basis for the comparison.

ConvertDefaultLocale

This function converts a special default locale value to an actual locale identifier.

EnumCalendarInfo

This function enumerates the calendar information by calling an application–defined callback function.

EnumCalendarInfoProc

This function is an application–defined callback function.

EnumCodePagesProc

This application-defined callback function is used with the EnumSystemCodePages function.

EnumDateFormats

This function enumerates the long or short date formats that are available for a specified locale, including date formats for any alternate calendars.

EnumDateFormatsProc

This function is an application–defined callback function. It is called because of a call to the EnumDateFormats function, and receives a pointer to a string buffer that contains a date format string.

EnumLocalesProc

This function is an application–defined callback function. It is called because of a call to the EnumSystemLocales function, and receives a pointer to a string buffer that contains a locale identifier.

EnumSystemCodePages

This function enumerates the code pages that are either installed on or supported by a system.

EnumSystemLocales

This function enumerates the locales that are either installed on or supported by a system.

EnumTimeFormats

This function enumerates the time formats that are available for a specified locale.

EnumTimeFormatsProc

This function is an application–defined callback function.

FoldString

This function maps one string to another, performing a specified transformation option.

GetACP

This function retrieves the current ANSI code-page identifier for the system.

GetCPInfo

This function retrieves information about any valid installed or available code page.

GetCurrencyFormat

This function formats a number string as a currency string for a specified locale.

GetDateFormat

This function formats a date as a date string for a specified locale.

GetLocaleInfo

This function retrieves information about a locale.

GetNumberFormat

This function formats a number string as a number string customized for a specified locale.

GetOEMCP

This function retrieves the current OEM code–page identifier for the system.

GetStringTypeW

This function returns character–type information for the characters in the specified source string.

GetStringTypeEx

This function returns character–type information for the characters in the specified source string.

GetSystemDefaultLangID

This function retrieves the system default language identifier.

GetSystemDefaultLCID

This function retrieves the system default locale identifier.

GetTimeFormat

This function formats a time as a time string for a specified locale.

GetUserDefaultLangID

This function retrieves the user-default language identifier.

GetUserDefaultUILanguage

This function retrieves the language identifier (LANGID) for the current user's UI language selection.

IsValidCodePage

This function determines whether a specified code page is valid.

IsValidLocale

This function applies a validity test to a locale identifier.

LCMapString

This function maps one character string to another, performing a specified locale-dependent transformation.

SetLocaleInfo

This function sets an item of locale information.

SetUserDefaultLCID

This function sets the locale identifier (LCID) for the current user's locale selection.

National Language Support (NLS) Reference

Provides an overview of the programming elements available for NLS.

Show: