Kernel32GetUserDefaultUILanguage Method

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.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static ushort GetUserDefaultUILanguage()

Return Value

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

Remarks

See Also