The GetSystemDefaultLangID function retrieves the system default language identifier.
LANGID GetSystemDefaultLangID(VOID)
This function has no parameters.
The return value is the system default language identifier.
For more information about language identifiers, see Language Identifiers and Locale Information.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winnls.h.
Import Library: Use kernel32.lib.
National Language Support Overview, National Language Support Functions, GetUserDefaultLangID, MAKELANGID