https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0785633649d7f1cf333cc…
commit 0785633649d7f1cf333cc42bb18d078ac67f55bc
Author: jimtabor <james.tabor(a)reactos.org>
AuthorDate: Mon Dec 9 19:15:49 2019 -0600
Commit: jimtabor <james.tabor(a)reactos.org>
CommitDate: Mon Dec 9 19:15:49 2019 -0600
[SetupAPI] Sync to wine.
See CORE-16543.
---
dll/win32/setupapi/setupapi.spec | 4 ++--
dll/win32/setupapi/stubs.c | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dll/win32/setupapi/setupapi.spec b/dll/win32/setupapi/setupapi.spec
index d6ad0e70bb0..692a0d27acd 100644
--- a/dll/win32/setupapi/setupapi.spec
+++ b/dll/win32/setupapi/setupapi.spec
@@ -223,8 +223,8 @@
@ stub SetupAddSectionToDiskSpaceListW
@ stdcall SetupAddToDiskSpaceListA(long str int64 long ptr long)
@ stdcall SetupAddToDiskSpaceListW(long wstr int64 long ptr long)
-@ stub SetupAddToSourceListA
-@ stub SetupAddToSourceListW
+@ stdcall SetupAddToSourceListA(long str)
+@ stdcall SetupAddToSourceListW(long wstr)
@ stub SetupAdjustDiskSpaceListA
@ stub SetupAdjustDiskSpaceListW
@ stub SetupBackupErrorA
diff --git a/dll/win32/setupapi/stubs.c b/dll/win32/setupapi/stubs.c
index c1c6e883b25..f132a8a0fc4 100644
--- a/dll/win32/setupapi/stubs.c
+++ b/dll/win32/setupapi/stubs.c
@@ -38,6 +38,24 @@ INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL
scan_only )
return 0;
}
+/***********************************************************************
+ * SetupAddToSourceListA (SETUPAPI.@)
+ */
+BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
+{
+ FIXME("0x%08x %s: stub\n", flags, debugstr_a(source));
+ return TRUE;
+}
+
+/***********************************************************************
+ * SetupAddToSourceListW (SETUPAPI.@)
+ */
+BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
+{
+ FIXME("0x%08x %s: stub\n", flags, debugstr_w(source));
+ return TRUE;
+}
+
/***********************************************************************
* SetupSetSourceListA (SETUPAPI.@)
*/