Kernel32GetSystemDefaultUILanguage Method
Retrieves the language identifier for the system default UI language of the operating system,
also known as the "install language" on Windows Vista and later.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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 GetSystemDefaultUILanguage()
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function GetSystemDefaultUILanguage As UShort
Dim returnValue As UShort
returnValue = Kernel32.GetSystemDefaultUILanguage()
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static unsigned short GetSystemDefaultUILanguage()
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member GetSystemDefaultUILanguage : unit -> uint16
No code example is currently available or this language may not be supported.
Return Value
UInt16
Returns the language identifier for the system default UI language of the operating system.