Overview of Functions

The following table lists the NLS functions.

Function Purpose
CompareStringA Compares two strings of the same locale.
LCMapStringA Transforms the case or sort order of a string.
GetLocaleInfoA Retrieves locale information from the user's system.
GetStringTypeA Retrieves locale type information about each character in a string.
GetSystemDefaultLangID Retrieves the default language ID (LANGID) from a user's system. (1)
GetSystemDefaultLCID Retrieves the default LCID from a user's system.
GetUserDefaultLangID Retrieves the default LANGID from a user's system.
GetUserDefaultLCID Retrieves the default LCID from a user's system. (1)
1    Because Windows is a single-user system, GetUserDefaultLangID and GetUserDefaultLCID return the same information as GetSystemDefaultLangID and GetSystemDefaultLCID.