Damjan Jovanovic : setupapi:
Use NtDeleteKey instead of an invalid RegDeleteKeyW.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 21 15:22:18 CDT 2007
Module: wine
Branch: master
Commit: 28025d64ef4e2b367f4e7417d6bed93c5f425892
URL: http://source.winehq.org/git/wine.git/?a=commit;h=28025d64ef4e2b367f4e7417d6bed93c5f425892
Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date: Tue Aug 21 13:23:58 2007 +0200
setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW.
---
dlls/setupapi/install.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-cvs
mailing list