Applies to: desktop apps only
Retrieves information about the current system.
To retrieve accurate information for an application running on WOW64, call the GetNativeSystemInfo function.
void WINAPI GetSystemInfo( __out LPSYSTEM_INFO lpSystemInfo );
A pointer to a SYSTEM_INFO structure that receives the information.
This function does not return a value.
For an example, see Getting Hardware Information.
Minimum supported client
Minimum supported server
Header
Library
DLL
Send comments about this topic to Microsoft
Build date: 3/6/2012
[DllImport("kernel32.dll", SetLastError=true)]internal static extern void GetSystemInfo(ref SYSTEM_INFO lpSystemInfo);
<DllImport("kernel32.dll", SetLastError:=True)> _Public Shared Sub GetSystemInfo(ByRef lpSystemInfo As SYSTEM_INFO)End Sub