[WINESYNC] 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>

wine commit id d45e6814d67c1f1a2eb6023f0fb5574d560fd9b8 by Austin English <austinenglish@gmail.com>
This commit is contained in:
winesync 2024-01-05 21:27:47 +01:00 committed by Hermès Bélusca-Maïto
parent 2721dd6bec
commit 6b52ad537e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -5,4 +5,4 @@ files:
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
tags:
wine: 074345edd6147a44b1311780c073f13d8114b726
wine: d45e6814d67c1f1a2eb6023f0fb5574d560fd9b8