【C】使用GetSystemInfo函数获得系统信息
【C】使用GetSystemInfo函数获得系统信息结果源码#include#includeint main(int argc, PCHAR argv[]){SYSTEM_INFO si;GetSystemInfo(&si);if (si.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64){printf("操作系统架构: X64(AMD or Intel)\n");} else if (si.wProce
原创
2022-04-25 14:01:19 ·
1790 阅读 ·
2 评论