GetSystemInfo.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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: "HARDWAREDESCRIPTIONSystemCentralProcessor<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: "HKLMSystemCurrentControlSetControlSession ManagerEnvironment". These are always present. When deleted, Windows(tm) will add them again.

It also creates a cached flag array for IsProcessorFeaturePresent(3w).

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/cpu.c".

Debug channel "reg".