mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:45:42 +00:00
[SERVICES] Improvements to registry control sets
- Add a function that creates a new control set and deletes unused control sets in case of a successful boot. - Add a stub function that will soon switch to the last known good control set in case of an unsuccessful boot.
This commit is contained in:
parent
878db26378
commit
26e1afaffc
3 changed files with 252 additions and 4 deletions
|
@ -1848,11 +1848,13 @@ RNotifyBootConfigStatus(
|
|||
SVCCTL_HANDLEW lpMachineName,
|
||||
DWORD BootAcceptable)
|
||||
{
|
||||
DPRINT1("RNotifyBootConfigStatus(%p %lu) called\n", lpMachineName, BootAcceptable);
|
||||
return ERROR_SUCCESS;
|
||||
DPRINT("RNotifyBootConfigStatus(%p %lu)\n",
|
||||
lpMachineName, BootAcceptable);
|
||||
|
||||
// UNIMPLEMENTED;
|
||||
// return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
if (BootAcceptable)
|
||||
return ScmAcceptBoot();
|
||||
|
||||
return ScmRunLastKnownGood();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue