setupapi: Set LastError on success in SetupInstallFromInfSectionW.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2018-08-03 22:13:22 +02:00 committed by Alexandre Julliard
parent fc79250ff7
commit d45e6814d6
1 changed files with 1 additions and 0 deletions

View File

@ -1188,6 +1188,7 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
return FALSE;
}
SetLastError(ERROR_SUCCESS);
return TRUE;
}