From: Austin English <austinenglish@gmail.com>
Subject: [PATCH] setupapi: set LastError on success in SetupInstallFromInfSectionW
Message-Id: <20180510205636.13087-1-austinenglish@gmail.com>
Date: Thu, 10 May 2018 15:56:36 -0500

Fixes https://bugs.winehq.org/show_bug.cgi?id=45167

Signed-off-by: Austin English <austinenglish@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