I'm playing with registry now. How to retrieve values from a registry key ?
Let's say the key is : HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
I'm looking for these 2 things :
VendorIdentifier : GenuineIntel
Identifier : x86 Family 15 Model 2 Stepping 7
So, my code will return something like this :
"Your CPU is GenuineIntel, identified as x86 Family 15 Model 2 Stepping 7".
I thinks it needs to use RegQueryValueEx, but I don't know how to use this properly.