msi: Add stub implementations of MsiSourceListClearSourceA/W.

Hans Leidekker hans at codeweavers.com
Tue Jan 27 04:58:19 CST 2009


diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 017fdbe..902e5f8 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -250,8 +250,8 @@
 254 stub MsiDeterminePatchSequenceW
 255 stdcall MsiSourceListAddSourceExA(str str long long str long)
 256 stdcall MsiSourceListAddSourceExW(wstr wstr long long wstr long)
-257 stub MsiSourceListClearSourceA
-258 stub MsiSourceListClearSourceW
+257 stdcall MsiSourceListClearSourceA(str str long long str)
+258 stdcall MsiSourceListClearSourceW(wstr wstr long long wstr)
 259 stub MsiSourceListClearAllExA
 260 stub MsiSourceListClearAllExW
 261 stub MsiSourceListForceResolutionExA
diff --git a/dlls/msi/source.c b/dlls/msi/source.c
index e8e4a11..8cdaf40 100644
--- a/dlls/msi/source.c
+++ b/dlls/msi/source.c
@@ -1314,3 +1314,27 @@ UINT WINAPI MsiSourceListClearAllW( LPCWSTR szProduct, LPCWSTR szUserName, DWORD
     FIXME("(%s %s %d)\n", debugstr_w(szProduct), debugstr_w(szUserName), dwReserved);
     return ERROR_SUCCESS;
 }
+
+/******************************************************************
+ *  MsiSourceListClearSourceA (MSI.@)
+ */
+UINT WINAPI MsiSourceListClearSourceA(LPCSTR szProductCodeOrPatchCode, LPCSTR szUserSid,
+                                      MSIINSTALLCONTEXT dwContext, DWORD dwOptions,
+                                      LPCSTR szSource)
+{
+    FIXME("(%s %s %x %x %s)\n", debugstr_a(szProductCodeOrPatchCode), debugstr_a(szUserSid),
+          dwContext, dwOptions, debugstr_a(szSource));
+    return ERROR_SUCCESS;
+}
+
+/******************************************************************
+ *  MsiSourceListClearSourceW (MSI.@)
+ */
+UINT WINAPI MsiSourceListClearSourceW(LPCWSTR szProductCodeOrPatchCode, LPCWSTR szUserSid,
+                                      MSIINSTALLCONTEXT dwContext, DWORD dwOptions,
+                                      LPCWSTR szSource)
+{
+    FIXME("(%s %s %x %x %s)\n", debugstr_w(szProductCodeOrPatchCode), debugstr_w(szUserSid),
+          dwContext, dwOptions, debugstr_w(szSource));
+    return ERROR_SUCCESS;
+}



More information about the wine-patches mailing list