setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW.

This commit is contained in:
Damjan Jovanovic 2007-08-21 13:23:58 +02:00 committed by Alexandre Julliard
parent a37a2fa4c5
commit 28025d64ef
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}