Поделиться через


National Language Support (NLS) Functions (Windows Embedded CE 6.0)

1/6/2010

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

In This Section

  • 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.
  • 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.
  • 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.
  • GetTimeFormat
    This function formats a time as a time string for a specified locale.
  • 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.

See Also

Other Resources

National Language Support (NLS) Reference