Scroll to navigation

ConvertDefaultLocale(3w) Wine API ConvertDefaultLocale(3w)

NAME

ConvertDefaultLocale (KERNEL32.@)

SYNOPSIS

LCID ConvertDefaultLocale
(
LCID lcid
)
 

DESCRIPTION

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".
Oct 2012 Wine API