Hi,
How can I call below function for remote machine?
HKEY key;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_QUERY_VALUE,&hKey );
Thanks,
Megha
: :
: : : how do I read it? I've tried searching the RegGetValue but couldn't
: : : get it to work/ understand how it works.
: :
: : Just copy MSDN samples and it works in 2 seconds
: : or see adv. win32 api forum,
: : news://194.177.96.26/comp.os.ms-windows.programmer.win32
: : where it has been given hundreds of times...
: :
: :
: :
: HKEY key;
: RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\Curren
: tVersion\\Run",0,KEY_QUERY_VALUE,&hKey );
:
: After reading the key, put it into a variable to hold.
:
: