Using C++ to edit the registry

后端 未结 5 1299
盖世英雄少女心
盖世英雄少女心 2020-11-30 12:18

I have a limited c++ background and I would like to edit the registry. For example, I want to grab the value of HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Curren

5条回答
  •  星月不相逢
    2020-11-30 13:02

    • Open the registry : RegOpenKeyEx

    • Query the value : RegQueryValueEx

      /* do something with value*/

    • Set the value back : RegSetValueEx

    • close the registry : RegCloseKey

提交回复
热议问题