摘要:
int GetMemory(void) { MEMORYSTATUSEX statex; statex.dwLength = sizeof (statex); GlobalMemoryStatusEx (&statex); int mem = statex.ullTotalPhys/1024/1024/1000; //printf("%d G",stat... 阅读全文
摘要:
int CDomCheck::core_count() { SYSTEM_INFO si; GetSystemInfo(&si); int count = si.dwNumberOfProcessors; return count; } 阅读全文
摘要:
#include #include #include #include "vfw.h" #pragma comment( lib, "vfw32.lib" ) void main() { char strDeviceVersion[80]; //设备版本信息 char strDeviceAndVersion[160]; //设备名和版本信息 int... 阅读全文