ConvertDefaultLocale.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "winnls.h".

Implemented in "dlls/kernel32/locale.c".

Debug channel "nls".