Hello, I would like to know if any of you can tell me how I can edit a file in the registry using C/C++? I can go on my PC and run regedit and rename the file my self. But I am looking to make this step automated! I want to run my program and rename a file I have in the registry. The path I'm trying to reach is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr
entVersion\Policies\Ratings

I'm looking to rename this file to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr
entVersion\Policies\Ratings1

Thanks for any help...

PS I looked up some of the reg functions. but becuase I don't know what I'm doing I don't want to run any of them till I hear from you.

Thanks for your help