Commit 28025d64 authored by Damjan Jovanovic's avatar Damjan Jovanovic Committed by Alexandre Julliard

setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW.

parent a37a2fa4
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment