獲取系統資訊,包括頁面大小,分配粒度,還有CPU資訊(GetSystemInfo)
阿新 • • 發佈:2019-01-30
Retrieves information about the current system.
To retrieve accurate information for an application running on WOW64, call theGetNativeSystemInfo function.
Syntax
C++ Copyvoid WINAPI GetSystemInfo(
_Out_ LPSYSTEM_INFO lpSystemInfo
);
Parameters
- lpSystemInfo [out]
-
A pointer to a SYSTEM_INFO
Return value
This function does not return a value.
Examples
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
---|---|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|