Group: Multilingual User Interface - Library: kernel32
LANGID GetUserDefaultUILanguage(void);
DECLARE SHORT GetUserDefaultUILanguage IN kernel32
This function has no parameters.
Returns the language identifier for the user UI language for the current user.
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).