   [WinAPI] How to get CPU type
  Hello,is there any way to get the name/type of the processor without using asm?I notices that the SYSTEM_INFO struct has some cpu info but only numbers I do notknow how to deal with...   
  This is one way of finding the architecture as a string.std::string getProcessorArchitecture(){SYSTEM_INFO siSysInfo;GetSystemInfo(&siSysInfo);std::string architecture = "unknown";switch(siSysInfo.wProcessorArchitecture){case PROCESSOR_ARCHITECTURE_AMD64:architecture = "x64 (AMD or Intel)";break;case PROCESSOR_ARCHITECTURE_IA32_ON_WIN64:architecture = "WOW64";break;case PROCESSOR_ARCHITECTURE_IA64:architecture = "Intel Itanium Processor Family (IPF)";break;case PROCESSOR_ARCHITECTURE_INTEL:architecture = "x86";break;default:break;}return architecture;};  Yeah that's a beginning but I would rather like to know how to getsomething like "Intel Core 2 Duo T7400"? (like it can be found on linux in /proc/cpuinfo)   ;Quote:Original post by madRenEGadEYeah that's a beginning but I would rather like to know how to getsomething like "Intel Core 2 Duo T7400"? (like it can be found on linux in /proc/cpuinfo)Just query the registry for the following:HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 What you want is in that area.   ;  thanks that was exactly what I was looking for   