Platform SDK: International Features

GetSystemDefaultUILanguage

The GetSystemDefaultUILanguage function retrieves the language identifier (LANGID) for the default language of the system.

LANGID GetSystemDefaultUILanguage(void);

Parameters

This function has no parameters.

Return Values

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.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winnls.h; include Windows.h.
  Library: Use Kernel32.lib.

See Also

National Language Support Overview, National Language Support Functions, GetUserDefaultUILanguage, EnumUILanguages