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

# IsValidLocale(3w)

## NAME

**IsValidLocale** (KERNEL32.@)

## SYNOPSIS

BOOL IsValidLocale\
  (\
   LCID  *lcid*,\
   DWORD *flags*\
  )

## DESCRIPTION

Determine if a locale is valid.

## PARAMS

*lcid* **\[In\]**  **LCID** of the locale to check.

*flags* **\[In\]**  **LCID\_SUPPORTED** = Valid, **LCID\_INSTALLED** = Valid and installed on the system.

## RETURNS

**TRUE**, if *lcid* is valid, **FALSE**, otherwise.

## NOTES

Wine does not currently make the distinction between supported and installed. All languages supported are installed by default.

## IMPLEMENTATION

Declared in **"winnls.h"**.

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

Debug channel **"nls"**.
