mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 09:21:31 +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
4aaaa0687d
commit
0498aefcc0
|
@ -331,7 +331,11 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
|
||||||
}
|
}
|
||||||
else RegDeleteValueW( hkey, value );
|
else RegDeleteValueW( hkey, value );
|
||||||
}
|
}
|
||||||
else NtDeleteKey( hkey );
|
else
|
||||||
|
{
|
||||||
|
RegDeleteTreeW( hkey, NULL );
|
||||||
|
NtDeleteKey( hkey );
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,4 @@ files:
|
||||||
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
||||||
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
||||||
tags:
|
tags:
|
||||||
wine: e4645d60d72a9fbfbd745e275d4f90110bdceb4d
|
wine: c9308b8d6b1e2f4dd39b19a6890423cd42fd4620
|
||||||
|
|
Loading…
Reference in a new issue