GetSystemDefaultLangID function

Expand
0 out of 2 rated this helpful - Rate this topic

GetSystemDefaultLangID function

Applies to: desktop apps only

Returns the language identifier for the system locale.

Syntax

LANGID GetSystemDefaultLangID(void);

Parameters

This function has no parameters.

Return value

Returns the language identifier for the system locale. For more information, see Language Identifier Constants and Strings.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winnls.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

National Language Support
National Language Support Functions
GetSystemDefaultLCID
GetUserDefaultLangID

 

 

Send comments about this topic to Microsoft

Build date: 5/5/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD
The explanation is misleading!
What this function actually returns is the "Language for Non-Unicode programs" of CURRENT USER, not SYSTEM or DEFAULT USER, even though it says SYSTEM.
2/10/2012