ConvertDefaultLocale3w
Usage
LCID ConvertDefaultLocale
(
LCID lcid
)
Overview
Convert a default locale identifier into a real identifier.
Params
lcid [In] LCID identifier of the locale to convert.
Returns
lcid unchanged, if not a default locale or its sublanguage is not SUBLANG_NEUTRAL. GetSystemDefaultLCID(), if lcid == LOCALE_SYSTEM_DEFAULT. GetUserDefaultLCID(), if lcid == LOCALE_USER_DEFAULT or LOCALE_NEUTRAL. Otherwise, lcid with sublanguage changed to SUBLANG_DEFAULT.
Implementation
Declared in "winnls.h".
Implemented in "dlls/kernel32/locale.c".
Debug channel "nls".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.