Reference

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

History