Platform SDK: International Features |
The GetUserDefaultUILanguage function retrieves the language identifier (LANGID) for the current user language.
LANGID GetUserDefaultUILanguage(void);
This function has no parameters.
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winnls.h; include Windows.h.
Library: Use Kernel32.lib.
National Language Support Overview, National Language Support Functions, GetSystemDefaultUILanguage, EnumUILanguages