Geoff Chappell, Software Analyst
API-MS-Win-Core-SysInfo-L1-1-0
All functions in the API-MS-Win-Core-SysInfo-L1-1-0 set are documented exports from KERNEL32:
- GetComputerNameExA
- GetComputerNameExW
- GetDynamicTimeZoneInformation
- GetLocalTime
- GetLogicalProcessorInformation
- GetLogicalProcessorInformationEx
- GetSystemDirectoryA
- GetSystemDirectoryW
- GetSystemInfo
- GetSystemTime
- GetSystemTimeAdjustment
- GetSystemTimeAsFileTime
- GetSystemWindowsDirectoryA
- GetSystemWindowsDirectoryW
- GetTickCount
- GetTickCount64
- GetTimeZoneInformation
- GetTimeZoneInformationForYear
- GetVersion
- GetVersionExA
- GetVersionExW
- GetWindowsDirectoryA
- GetWindowsDirectoryW
- GlobalMemoryStatusEx
- SetLocalTime
- SystemTimeToFileTime
- SystemTimeToTzSpecificLocalTime
- TzSpecificLocalTimeToSystemTime
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:
- GetLogicalProcessorInformationEx, which KERNEL32
forwards to the API Set;
and
- GetSystemDirectoryA,
- GetSystemDirectoryW,
- GetSystemWindowsDirectoryA,
- GetSystemWindowsDirectoryW,
for which KERNEL32 retains substantial implementations.
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 and forwards
from KERNEL32 import from underlying implementations in KERNELBASE.