Austin English : setupapi: Set LastError on success in SetupInstallFromInfSectionW.
Alexandre Julliard
julliard at winehq.org
Wed Aug 15 14:39:54 CDT 2018
Module: wine
Branch: master
Commit: d45e6814d67c1f1a2eb6023f0fb5574d560fd9b8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d45e6814d67c1f1a2eb6023f0fb5574d560fd9b8
Author: Austin English <austinenglish at gmail.com>
Date: Fri Aug 3 22:13:22 2018 +0200
setupapi: Set LastError on success in SetupInstallFromInfSectionW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/setupapi/install.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 0593df8..5a76e3a 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -1188,6 +1188,7 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
return FALSE;
}
+ SetLastError(ERROR_SUCCESS);
return TRUE;
}
More information about the wine-cvs
mailing list