mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[EXPLORER]
- Execute HKCU RunOnce entries as well. Patch by Edijs Kolesnikovics. See issue #7062 for more details. svn path=/trunk/; revision=56550
This commit is contained in:
parent
8d409bed60
commit
dfa6f8b595
1 changed files with 2 additions and 0 deletions
|
@ -510,6 +510,8 @@ int startup(int argc, const char *argv[])
|
||||||
res = ProcessRunKeys(HKEY_LOCAL_MACHINE, runkeys_names[RUNKEY_RUN], FALSE, FALSE);
|
res = ProcessRunKeys(HKEY_LOCAL_MACHINE, runkeys_names[RUNKEY_RUN], FALSE, FALSE);
|
||||||
if (res && ops.postlogin && ops.startup)
|
if (res && ops.postlogin && ops.startup)
|
||||||
res = ProcessRunKeys(HKEY_CURRENT_USER, runkeys_names[RUNKEY_RUN], FALSE, FALSE);
|
res = ProcessRunKeys(HKEY_CURRENT_USER, runkeys_names[RUNKEY_RUN], FALSE, FALSE);
|
||||||
|
if (res && ops.postlogin && ops.startup)
|
||||||
|
res = ProcessRunKeys(HKEY_CURRENT_USER, runkeys_names[RUNKEY_RUNONCE], TRUE, FALSE);
|
||||||
|
|
||||||
printf("Operation done\n");
|
printf("Operation done\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue