GetSystemDefaultUILanguage (Compact 2013)

3/28/2014

This function retrieves the LANGID for the original install language of the system.

Syntax

LANGID GetSystemDefaultUILanguage();

Parameters

None.

Return Value

If the function succeeds, the return value is the LANGID for the system default UI language. If the function fails, the return value is zero.

Remarks

For more information about language identifiers, see Language Identifiers and Locales.

The registry key that stores the default system language is located at HKEY_LOCAL_MACHINE\MUI\SysLang.

Requirements

Header

windows.h

Library

Coreloc.lib

See Also

Reference

Multilingual User Interface (MUI) Functions
Language Identifiers
GetUserDefaultUILanguage
EnumUILanguages