Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetUserDefaultLangID function

Returns the language identifier of the Region Format setting for the current user.

Syntax


LANGID GetUserDefaultLangID(void);

Parameters

This function has no parameters.

Return value

Returns the language identifier for the current user as set under Control Panel > Clock, Language, and Region > Change date, time, or number formats > Formats tab > Format dropdown.

For more information on language identifiers, see Language Identifier Constants and Strings.

Remarks

The return value is not necessarily the same as that returned by GetSystemDefaultLangID, even for a single-user computer.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnls.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

National Language Support
National Language Support Functions
GetSystemDefaultLangID

 

 

Show:
© 2016 Microsoft