[PATCH 1/2] setupapi: Set LastError on success in SetupInstallFromInfSectionW.
Gijs Vermeulen
gijsvrm at gmail.com
Fri Aug 3 15:13:22 CDT 2018
From: Austin English <austinenglish at gmail.com>
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---
dlls/setupapi/install.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 0593df892e..5a76e3a581 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;
}
--
2.13.7
More information about the wine-devel
mailing list