GetSystemInfo function (sysinfoapi.h)

Retrieves information about the current system.

To retrieve accurate information for an application running on WOW64, call the GetNativeSystemInfo function.

Syntax

void GetSystemInfo(
  [out] LPSYSTEM_INFO lpSystemInfo
);

Parameters

[out] lpSystemInfo

A pointer to a SYSTEM_INFO structure that receives the information.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header sysinfoapi.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See also

GetNativeSystemInfo

SYSTEM_INFO

System Information Functions