Platform SDK: International Features |
The GetSystemDefaultUILanguage function retrieves the language identifier (LANGID) for the default language of the system.
LANGID GetSystemDefaultUILanguage(void);
This function has no parameters.
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.
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, GetUserDefaultUILanguage, EnumUILanguages