Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.04 KB

GetUserDefaultUILanguage.md

File metadata and controls

44 lines (27 loc) · 1.04 KB

Home

Function name : GetUserDefaultUILanguage

Group: Multilingual User Interface - Library: kernel32


Returns the language identifier for the user UI language for the current user.


Declaration:

LANGID GetUserDefaultUILanguage(void);  

FoxPro declaration:

DECLARE SHORT GetUserDefaultUILanguage IN kernel32  

Parameters:

This function has no parameters.


Return value:

Returns the language identifier for the user UI language for the current user.


Comments:

If the current user has not set a language, GetUserDefaultUILanguage returns the preferred language set for the system.

If there is no preferred language set for the system, then the system default UI language (also known as "install language") is returned.

Important: declare returned value as SHORT (2 bytes).