ConvertDefaultLocale(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.