ComCtl32GetMUILanguage Method

Gets the language currently in use by the common controls for a particular process.

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("ComCtl32.dll", ExactSpelling = true)]
public static ushort GetMUILanguage()

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).

Remarks

See Also