GetSystemInfo (KERNEL32.@)
VOID GetSystemInfo ( LPSYSTEM_INFO si )
si | [Out] | Destination for system information,may not be NULL. |
Get information about the system.
Nothing.
On the first call it creates cached values, so it doesn't have to determine them repeatedly. On Linux, the "/proc/cpuinfo" special file is used.
It creates a registry subhierarchy, looking like: "\HARDWARE\DESCRIPTION\System\CentralProcessor\<processornumber>\Identifier (CPU x86)". Note that there is a hierarchy for every processor installed, so this supports multiprocessor systems. This is done like Win95 does it, I think.
It creates some registry entries in the environment part: "\HKLM\System\CurrentControlSet\Control\Session Manager\Environment". These are always present. When deleted, Windows® will add them again.
It also creates a cached flag array for IsProcessorFeaturePresent.
Defined in "winbase.h".
Implemented in "dlls/kernel32/cpu.c". source.winehq.org/source/dlls/kernel32/cpu.c
Debug channel "reg".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.