Geoff Chappell, Software Analyst
API-MS-Win-Core-Localization-L1-1-0
All functions in the API-MS-Win-Core-Localization-L1-1-0 set are exports from
KERNEL32. Many are old, but some are new to version 6.1. One is exported only from
versions before 6.1.
- ConvertDefaultLocale
- FindNLSString
- FindNLSStringEx
- GetACP
- GetCalendarInfoW
- GetCalendarInfoEx
- GetCPFileNameFromRegistry
- GetCPInfo
- GetCPInfoExW
- GetFileMUIInfo
- GetFileMUIPath
- GetLocaleInfoW
- GetLocaleInfoEx
- GetNLSVersion
- GetNLSVersionEx
- GetOEMCP
- GetProcessPreferredUILanguages
- GetSystemDefaultLangID
- GetSystemDefaultLCID
- GetSystemPreferredUILanguages
- GetThreadLocale
- GetThreadPreferredUILanguages
- GetThreadUILanguage
- GetUILanguageInfo
- GetUserDefaultLangID
- GetUserDefaultLCID
- GetUserPreferredUILanguages
- IsNLSDefinedString
- IsValidCodePage
- IsValidLanguageGroup
- IsValidLocale
- IsValidLocaleName
- LCMapStringW
- LCMapStringEx
- LocaleNameToLCID
- NlsCheckPolicy
- NlsEventDataDescCreate
- NlsGetCacheUpdateCount
- NlsUpdateLocale
- NlsUpdateSystemLocale
- NlsWriteEtwEvent
- ResolveLocaleName
- SetCalendarInfoW
- SetLocaleInfoW
- SetThreadLocale
- VerLanguageNameA
- VerLanguageNameW
For most of these functions, the implementations in KERNEL32 version 6.1 and
higher are just stubs which transfer the handling to wherever the schema redirects
the API Set. The exceptions are:
- GetCPFileNameFromRegistry, which is no longer
exported from KERNEL32;
- GetNLSVersion and GetNLSVersionEx,
which retain non-trivial implementations in KERNEL32.
New Locations
Non-trivial implementations of all functions in this API Set are exported from
KERNELBASE version 6.1 and higher, even if very nearly duplicating a substantial
implementation that persists in KERNEL32.
Schema Redirection
The Windows 7 schema redirects this API Set to KERNELBASE. Thus:
- high-level executables, which do not use the API Set, continue to import these
functions from KERNEL32;
- low-level executables have their imports from the API Set redirected to KERNELBASE;
- as a particular case of the preceding, the stub implementations in KERNEL32
import from underlying implementations in KERNELBASE.