National Language Support (NLS) Functions

Send Feedback

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

Programming element PPC SP Description
CompareString X X This function compares two character strings, using the locale specified by the given identifier as the basis for the comparison.
ConvertDefaultLocale X X This function converts a special default locale value to an actual locale identifier.
CreateIFEDictionaryInstance X X This function creates an instance of the IFEDictionary class.
CreateIImeIPointInstance X X This function creates an instance of the IImeIPoint2 class.
EnumCalendarInfo X X This function enumerates the calendar information by calling an application-defined callback function.
EnumCalendarInfoProc X X This function is an application-defined callback function.
EnumCodePagesProc X X This application-defined callback function is used with the EnumSystemCodePages function.
EnumDateFormats X X This function enumerates the long or short date formats that are available for a specified locale, including date formats for any alternate calendars.
EnumDateFormatsProc X X 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 X X 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 X X This function enumerates the code pages that are either installed on or supported by a system.
EnumSystemLocales X X This function enumerates the locales that are either installed on or supported by a system.
EnumTimeFormats X X This function enumerates the time formats that are available for a specified locale.
EnumTimeFormatsProc X X This function is an application-defined callback function.
FoldString X X This function maps one string to another, performing a specified transformation option.
GetACP X X This function retrieves the current ANSI code-page identifier for the system.
GetCPInfo X X This function retrieves information about any valid installed or available code page.
GetCurrencyFormat X X This function formats a number string as a currency string for a specified locale.
GetDateFormat X X This function formats a date as a date string for a specified locale.
GetLocaleInfo X X This function retrieves information about a locale.
GetNumberFormat X X This function formats a number string as a number string customized for a specified locale.
GetOEMCP X X This function retrieves the current original equipment manufacturer (OEM) code-page identifier for the system.
GetStringTypeW X X This function returns character-type information for the characters in the specified source string.
GetStringTypeEx X X This function returns character-type information for the characters in the specified source string.
GetSystemDefaultLangID X X This function retrieves the system default language identifier.
GetSystemDefaultLCID X X This function retrieves the system default locale identifier.
GetTimeFormat X X This function formats a time as a time string for a specified locale.
GetUserDefaultLangID X X This function retrieves the user-default language identifier.
GetUserDefaultUILanguage X X This function retrieves the language identifier (LANGID) for the current user's UI language selection.
IsValidCodePage X X This function determines whether a specified code page is valid.
IsValidLocale X X This function applies a validity test to a locale identifier.
LCMapString X X This function maps one character string to another, performing a specified locale-dependent transformation.
SetLocaleInfo X X This function sets an item of locale information
SetUserDefaultLCID X X This function sets the locale identifier (LCID) for the current user's locale selection.

See Also

National Language Support (NLS) Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.