setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW.
This commit is contained in:
parent
a37a2fa4c5
commit
28025d64ef
|
@ -276,7 +276,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
|
|||
}
|
||||
else RegDeleteValueW( hkey, value );
|
||||
}
|
||||
else RegDeleteKeyW( hkey, NULL );
|
||||
else NtDeleteKey( hkey );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue