[setupapi] use NtDeleteKey instead of an invalid RegDeleteKeyW

Damjan Jovanovic damjan.jov at gmail.com
Tue Aug 21 06:23:58 CDT 2007


Closes bug 8446.

Changelog:
* Use NtDeleteKey instead of an invalid RegDeleteKeyW

Damjan Jovanovic
-------------- next part --------------
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index ca17b64..f11ace4 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -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;
     }
 


More information about the wine-patches mailing list