janderwald(a)svn.reactos.org wrote:
+ if (RegOpenKeyEx(HKEY_LOCAL_MACHINE,
+
_T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce"),
+ 0,
+ KEY_SET_VALUE,
+ &hKey) != ERROR_SUCCESS)
+ {
+ DPRINT1("Error: failed to open
HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\n");
There's a HKCU typo in the debug print.
Also, is this the correct place to be storing this info?
Ged.