NAME

GetSystemInfo  (KERNEL32.@)

SYNOPSIS

 VOID GetSystemInfo
 (
  LPSYSTEM_INFO si
 )

PARAMS

si [Out] Destination for system information,may not be NULL.

DESCRIPTION

Get information about the system.

RETURNS

Nothing.

NOTES

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.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/cpu.c". source.winehq.org/source/dlls/kernel32/cpu.c

Debug channel "reg".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.