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

# VerLanguageNameA(3w)

## NAME

**VerLanguageNameA** (KERNEL32.@)

## SYNOPSIS

DWORD VerLanguageNameA\
  (\
   DWORD *wLang*,\
   LPSTR *szLang*,\
   DWORD *nSize*\
  )

## DESCRIPTION

Get the name of a language.

## PARAMS

*wLang* **\[In\]**  **LANGID** of the language.

*szLang* **\[Out\]**  Destination for the language name.

## RETURNS

**Success:** The size of the language name. If *szLang* is non-NULL, it is filled with the name.

**Failure:** **0.** Use **[GetLastError(3w)](/GetLastError/3w.md)** to determine the cause.

## IMPLEMENTATION

Declared in **"winver.h"**.

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

Debug channel **"nls"**.
