mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[WINESYNC] setupapi: Recursively remove any subkeys before calling NtDeleteKey().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id c9308b8d6b1e2f4dd39b19a6890423cd42fd4620 by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
936f020646
commit
7e9fa0ee8a
2 changed files with 6 additions and 2 deletions
|
@ -331,7 +331,11 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
|
|||
}
|
||||
else RegDeleteValueW( hkey, value );
|
||||
}
|
||||
else NtDeleteKey( hkey );
|
||||
else
|
||||
{
|
||||
RegDeleteTreeW( hkey, NULL );
|
||||
NtDeleteKey( hkey );
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@ files:
|
|||
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
||||
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
||||
tags:
|
||||
wine: e4645d60d72a9fbfbd745e275d4f90110bdceb4d
|
||||
wine: c9308b8d6b1e2f4dd39b19a6890423cd42fd4620
|
||||
|
|
Loading…
Reference in a new issue