Kernel32GetUserDefaultLCID Method

Returns the locale identifier for the user default locale.

Caution: If the user default locale is a custom locale, an application cannot accurately tag data with the value or exchange it. In this case, the application should use GetUserDefaultLocaleName(StringBuilder, Int32) in preference to GetUserDefaultLCID.

Note: applications that are intended to run only on Windows Vista and later should use GetUserDefaultLocaleName(StringBuilder, Int32).

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 uint GetUserDefaultLCID()

Return Value

UInt32
Returns the locale identifier for the user default locale.

Remarks

See Also