Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function retrieves the language identifier (LANGID) for the current user's UI language selection.
Syntax
LANGID GetUserDefaultUILanguage();
Parameters
None.
Return Value
If the function succeeds, the return value is the LANGID for the current user's UI language. If the function fails, the return value is zero.
Remarks
The registry key that stores the default user language as a locale identifier (LCID) value of type REG_SZ is located at HKEY_CURRENT_USER\MUI\CurLang.
For more information about language identifiers and LCID, see Language Identifiers and Locales.
Requirements
| Header | windows.h |
| Library | Coreloc.lib |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
GetSystemDefaultUILanguage
EnumUILanguages
Concepts
Language Identifiers and Locales