GetUserDefaultUILanguage (Windows CE 5.0)
This function retrieves the language identifier (LANGID) for the current user's UI language selection.
LANGID GetUserDefaultUILanguage();
Parameters
None.
Return Values
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
If the HKEY_CURRENT_USER\Control\Panel\Desktop\MultiUILanguageId registry key has been set to a locale identifier (LCID) value of type REG_SZ, GetuserDefaultUILanguage returns the value for the MultiUILanguageId key.
If this value is not set in the registry, then GetSystemDefaultUILanguage is returned.
For more information about language identifiers and LCID, see Language Identifiers and Locales.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
Link Library: Coreloc.lib.
See Also
Language Identifiers and Locales | GetSystemDefaultUILanguage | EnumUILanguages
Send Feedback on this topic to the authors