title: Using C++ to edit the registry
body: <p>I have a limited c++ background and I would like to edit the registry. For example, I want to grab the value of <code>HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun</code> and check to see if 0x20 is in it, and then if it is, subtract 0x20 from it's value and write it back (and kill and restart explorer.exe but I can figure that out on my own).</p>
  
  <p>How would you do it?</p>