GetUILanguageFallbackList function

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

Syntax

BOOL GetUILanguageFallbackList(
  PWSTR  pFallbackList,
  ULONG  cchFallbackList,
  PULONG pcchFallbackOut
);

Parameters

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.

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.

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

   
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