ComCtl32GetMUILanguage Method
Gets the language currently in use by the common controls for a particular process.
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("ComCtl32.dll", ExactSpelling = true)]
public static ushort GetMUILanguage()
<DllImportAttribute("ComCtl32.dll", ExactSpelling := true>]
Public Shared Function GetMUILanguage As UShort
Dim returnValue As UShort
returnValue = ComCtl32.GetMUILanguage()
public:
[DllImportAttribute(L"ComCtl32.dll", ExactSpelling = true)]
static unsigned short GetMUILanguage()
[<DllImportAttribute("ComCtl32.dll", ExactSpelling = true)>]
static member GetMUILanguage : unit -> uint16
No code example is currently available or this language may not be supported.
Return Value
UInt16
Returns the language identifier of the language an application has
specified for the common controls by calling
InitMUILanguage(UInt16).
GetMUILanguage returns the value for the process from which it is called.
If
InitMUILanguage(UInt16) has not been called or was not called from the same process,
GetMUILanguage returns the language-neutral LANGID,
MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL).