Kernel32EnumSystemLocales Method
Enumerates the locales that are either installed on or supported by an operating system.
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", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool EnumSystemLocales(
DelegatesEnumLocalesProc localeEnumProc,
EnumSystemLocalesFlags flags
)
public:
[DllImportAttribute(L"Kernel32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static bool EnumSystemLocales(
DelegatesEnumLocalesProc^ localeEnumProc,
EnumSystemLocalesFlags flags
)
[<DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member EnumSystemLocales :
localeEnumProc : DelegatesEnumLocalesProc *
flags : EnumSystemLocalesFlags -> bool
No code example is currently available or this language may not be supported.
- 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.
Boolean
Returns
if successful, or
otherwise.