4、与CPU,内存获取相关的几个函数

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 FunctionIPv4
 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

posted @ 2010-08-30 23:22  浪里飞  阅读(552)  评论(0编辑  收藏  举报