Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 995 Bytes

GetThreadUILanguage.md

File metadata and controls

42 lines (26 loc) · 995 Bytes

Home

Function name : GetThreadUILanguage

Group: Multilingual User Interface - Library: kernel32


Returns the language identifier of the first user interface language for the current thread.


Declaration:

LANGID GetThreadUILanguage(void);  

FoxPro declaration:

DECLARE SHORT GetThreadUILanguage IN kernel32  

Parameters:

This function has no parameters.


Return value:

Returns the identifier for a language explicitly associated with the thread by SetThreadUILanguage or SetThreadPreferredUILanguages


Comments:

If no language has been explicitly associated with the current thread, the identifier can indicate a user or system user interface language.

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