From 7eb63d6fd3035f8e843e19bd0677f8c151c8d153 Mon Sep 17 00:00:00 2001 From: winesync Date: Fri, 5 Jan 2024 21:27:47 +0100 Subject: [PATCH] [WINESYNC] setupapi: Set LastError on success in SetupInstallFromInfSectionW. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167 Signed-off-by: Gijs Vermeulen Signed-off-by: Alexandre Julliard wine commit id d45e6814d67c1f1a2eb6023f0fb5574d560fd9b8 by Austin English --- dll/win32/setupapi/install.c | 1 + sdk/tools/winesync/setupapi.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/win32/setupapi/install.c b/dll/win32/setupapi/install.c index 9eeac4fea50..4ada5d5d7c7 100644 --- a/dll/win32/setupapi/install.c +++ b/dll/win32/setupapi/install.c @@ -1543,6 +1543,7 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section, return FALSE; } + SetLastError(ERROR_SUCCESS); return TRUE; } diff --git a/sdk/tools/winesync/setupapi.cfg b/sdk/tools/winesync/setupapi.cfg index 2f0f5f32796..64b6c2684bb 100644 --- a/sdk/tools/winesync/setupapi.cfg +++ b/sdk/tools/winesync/setupapi.cfg @@ -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