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

# GetAcceptLanguagesW(3w)

## NAME

**GetAcceptLanguagesW** (SHLWAPI.15)

## SYNOPSIS

HRESULT GetAcceptLanguagesW\
  (\
   LPWSTR  *langbuf*,\
   LPDWORD *buflen*\
  )

## DESCRIPTION

Get Explorers **"AcceptLanguage"** setting.

## PARAMS

*langbuf* **\[Out\]**  Destination for language string.

*buflen* **\[In\]**  Length of *langbuf* in characters.

**\[0\]**  Success: used length of *langbuf*.

## RETURNS

**Success:** **S\_OK**. *langbuf* is set to the language string found.

**Failure:** **E\_FAIL**, If any arguments are invalid, error occurred, or Explorer does not contain the setting. HRESULT\_FROM\_Win32(**ERROR\_INSUFFICIENT\_BUFFER**), If the buffer is not big enough

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/shlwapi/ordinal.c"**.

Debug channel **"shell"**.
