Add stub for SetupAddToSourceListW.

Sylvain Petreolle spetreolle at yahoo.fr
Sat Dec 8 11:40:37 CST 2012


---
 dlls/setupapi/setupapi.spec |  2 +-
 dlls/setupapi/stubs.c       | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 38113e3..9733a08 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -249,7 +249,7 @@
 @ stdcall SetupAddToDiskSpaceListA(long str int64 long ptr long)
 @ stdcall SetupAddToDiskSpaceListW(long wstr int64 long ptr long)
 @ stdcall SetupAddToSourceListA(long str)
-@ stub SetupAddToSourceListW
+@ stdcall SetupAddToSourceListW(long wstr)
 @ stub SetupAdjustDiskSpaceListA
 @ stub SetupAdjustDiskSpaceListW
 @ stub SetupCancelTemporarySourceList
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index db05e64..c3b406d 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -241,6 +241,15 @@ BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
 }
 
 /***********************************************************************
+ *      SetupAddToSourceListW (SETUPAPI.@)
+ */
+BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
+{
+    FIXME("0x%08x %s\n", flags, debugstr_w(source));
+    return TRUE;
+}
+
+/***********************************************************************
  *      SetupSetSourceListA (SETUPAPI.@)
  */
 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
@@ -547,3 +556,4 @@ BOOL WINAPI SetupDiSetSelectedDevice(HDEVINFO SetupDiSetSelectedDevice, PSP_DEVI
 
     return TRUE;
 }
+
-- 
1.7.11.7




More information about the wine-patches mailing list