Platform SDK: International Features |
The GetSystemDefaultLangID function retrieves the language identifier of the system locale.
LANGID GetSystemDefaultLangID(void);
This function has no parameters.
If the function succeeds, the return value is the language identifier of the system locale. If the function fails, the return value is zero.
For more information about language identifiers, see Language Identifiers and Locale Information.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winnls.h; include Windows.h.
Library: Use Kernel32.lib.
National Language Support Overview, National Language Support Functions, GetSystemDefaultLCID, GetUserDefaultLangID, MAKELANGID