1、得到cpu占有率的API函数:
GetSystemTimes
2、得到内存使用情况的API函数:
GlobalMemoryStatusEx Function
Retrieves information about the system's current usage of both physical and virtual memory.
GetPerformanceInfo Function
Retrieves the performance values contained in the PERFORMANCE_INFORMATION structure
3、获取网卡信息的API函数:
GetAdaptersInfo Function(IPv4)
retrieves adapter information for the local computer.
On Windows XP and later: Use the GetAdaptersAddresses function instead of GetAdaptersInfo
GetAdaptersAddresses function
retrieves the addresses associated with the adapters on the local computer