LOCALE_NAME* Constants

This topic defines the LOCALE_NAME* constants used by NLS.

Value Meaning
LOCALE_NAME_INVARIANT Name of an invariant locale that provides stable locale and calendar data.
LOCALE_NAME_MAX_LENGTH Maximum length of a locale name. The maximum number of characters allowed for this string is 85, including a terminating null character. Note: Your application must use the constant for the maximum locale name length, instead of hard-coding the value "85".
LOCALE_NAME_SYSTEM_DEFAULT Name of the current operating system locale.
LOCALE_NAME_USER_DEFAULT Name of the current user locale, matching the preference set in the regional and language options portion of Control Panel. This locale can be different from the locale for the current user interface language.