---
name: "ConvertDefaultLocale"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ConvertDefaultLocale"
---

# 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"**.
