您的位置:首页 > 其它

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

2010-08-30 23:22 369 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐