Kernel32SetThreadUILanguage Method
Sets the user interface language for the current thread.
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, SetLastError = true)]
public static uint SetThreadUILanguage(
uint langId
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true, SetLastError := true>]
Public Shared Function SetThreadUILanguage (
langId As UInteger
) As UInteger
Dim langId As UInteger
Dim returnValue As UInteger
returnValue = Kernel32.SetThreadUILanguage(langId)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true, SetLastError = true)]
static unsigned int SetThreadUILanguage(
unsigned int langId
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true, SetLastError = true)>]
static member SetThreadUILanguage :
langId : uint32 -> uint32
No code example is currently available or this language may not be supported.
- langId UInt32
-
Language identifier for the user interface language for the thread.
UInt32
Returns the input language identifier if successful.
If the input identifier is nonzero, the function returns that value.
If the language identifier is 0, the function always succeeds and
returns the identifier of the language that best supports the Windows console.