摘要: int GetMemory(void) { MEMORYSTATUSEX statex; statex.dwLength = sizeof (statex); GlobalMemoryStatusEx (&statex); int mem = statex.ullTotalPhys/1024/1024/1000; //printf("%d G",stat... 阅读全文
posted @ 2019-01-01 02:05 daggerx 阅读(399) 评论(0) 推荐(0)
摘要: int CDomCheck::core_count() { SYSTEM_INFO si; GetSystemInfo(&si); int count = si.dwNumberOfProcessors; return count; } 阅读全文
posted @ 2019-01-01 01:56 daggerx 阅读(962) 评论(0) 推荐(0)
摘要: #include #include #include #include "vfw.h" #pragma comment( lib, "vfw32.lib" ) void main() { char strDeviceVersion[80]; //设备版本信息 char strDeviceAndVersion[160]; //设备名和版本信息 int... 阅读全文
posted @ 2019-01-01 01:54 daggerx 阅读(434) 评论(0) 推荐(0)