The GetUserDefaultLangID function retrieves the user-default language identifier.
LANGID GetUserDefaultLangID(VOID)
This function has no parameters.
The return value is the user -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, GetSystemDefaultLangID, MAKELANGID