GetUILanguageFallbackList function (muiload.h)

Gets a fallback list of UI languages represented as language names.

Syntax

BOOL GetUILanguageFallbackList(
  [out, optional] PWSTR  pFallbackList,
  [in]            ULONG  cchFallbackList,
  [out, optional] PULONG pcchFallbackOut
);

Parameters

[out, optional] pFallbackList

Pointer to a double null-terminated buffer in which the function retrieves an ordered, null-delimited list of language names. Alternatively, this parameter contains NULL if cchFallbackList is set to 0. In this case, the function retrieves the required size of the language buffer in pcchFallbackListOut.

[in] cchFallbackList

Size, in characters, of the language buffer indicated by pFallbackList. Alternatively, the application can set this parameter to 0. In this case, the function retrieves the required size of the language buffer in pcchFallbackListOut.

[out, optional] pcchFallbackOut

Pointer to a buffer in which the function retrieves the size of the retrieved language list. Alternatively, if cchFallbackList specifies 0, the function retrieves the required size of the language buffer.

Return value

Returns TRUE if the function retrieves a list of fallback languages or FALSE otherwise. To get extended error information, the application can call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header muiload.h
Library Muiload.lib
Redistributable Muiload.lib, included in the Windows SDK for Windows 7 on Windows 2000 Professional, Windows Me/98/95

See also

Multilingual User Interface

Multilingual User Interface Functions

User Interface Language Management