Here's the problem.
I'm getting the following string as parameter to my function:
HKEY_CURRENT_USER\Software\MyProgram\SomeKey
where SomeKey is a
REG_DWORD
and has a value.
I need to read and write to that key (SomeKey) but all the registry functions that I know take HKEY_CURRENT_USER
separately from the rest of the key (\Software\MyProgram\SomeKey).
Is there any API or function to pass the whole string and retrieve the value from that key?
and to write a value to that key?
If not, anyone knows a good, fast way to do this?
thanks