Kernel32EnumSystemLocales Method

Enumerates the locales that are either installed on or supported by an operating system.

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", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool EnumSystemLocales(
	DelegatesEnumLocalesProc localeEnumProc,
	EnumSystemLocalesFlags flags
)

Parameters

localeEnumProc  DelegatesEnumLocalesProc
Pointer to an application-defined callback function.

The EnumSystemLocales(DelegatesEnumLocalesProc, EnumSystemLocalesFlags) function enumerates system locales by making repeated calls to this callback function.

For more information, see DelegatesEnumLocalesProc.

flags  EnumSystemLocalesFlags
Flags specifying the locale identifiers to enumerate.

Return Value

Boolean
Returns if successful, or otherwise.

Remarks

See Also