[PATCH] setupapi: set LastError on success in SetupInstallFromInfSectionW
Austin English
austinenglish at gmail.com
Thu May 10 15:56:36 CDT 2018
Fixes https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Austin English <austinenglish 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.16.1
More information about the wine-devel
mailing list