请教!有什么SDK可以获得CPU的型号?

解决方案 »

  1.   

    typedef struct _SYSTEM_INFO { 
      union { 
        DWORD  dwOemId; 
        struct { 
          WORD wProcessorArchitecture; 
          WORD wReserved; 
        }; 
      }; 
      DWORD  dwPageSize; 
      LPVOID lpMinimumApplicationAddress; 
      LPVOID lpMaximumApplicationAddress; 
      DWORD_PTR dwActiveProcessorMask; 
      DWORD dwNumberOfProcessors; 
      DWORD dwProcessorType; 
      DWORD dwAllocationGranularity; 
      WORD wProcessorLevel; 
      WORD wProcessorRevision; 
    } SYSTEM_INFO;   DWORD dwProcessorType; 
      

  2.   

    GetSystemInfo(SYSTEM_INFO lpSystemInfo)
    lpSystemInfo SYSTEM_INFO,指定一个结构,用于装载适当的系统信息 
    SYSTEM_INFO 说明 楼上已经说了