James Hawkins : msi: Add a stub implementation of MsiSourceListEnumSourcesA .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 08:56:00 CDT 2007


Module: wine
Branch: master
Commit: 37286473a05fb9e35f1ff5e785b675764d10e966
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=37286473a05fb9e35f1ff5e785b675764d10e966

Author: James Hawkins <truiken at gmail.com>
Date:   Sun Jul 29 21:29:21 2007 -0700

msi: Add a stub implementation of MsiSourceListEnumSourcesA.

---

 dlls/msi/msi.spec |    2 +-
 dlls/msi/source.c |   13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 6aa8957..3990849 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -256,7 +256,7 @@
 260 stub MsiSourceListClearAllExW
 261 stub MsiSourceListForceResolutionExA
 262 stub MsiSourceListForceResolutionExW
-263 stub MsiSourceListEnumSourcesA
+263 stdcall MsiSourceListEnumSourcesA(str str long long long ptr ptr)
 264 stub MsiSourceListEnumSourcesW
 265 stdcall MsiSourceListGetInfoA(str str long long str ptr ptr)
 266 stub MsiSourceListGetInfoW
diff --git a/dlls/msi/source.c b/dlls/msi/source.c
index 975b0f2..69f10f3 100644
--- a/dlls/msi/source.c
+++ b/dlls/msi/source.c
@@ -169,6 +169,19 @@ static UINT find_given_source(HKEY key, LPCWSTR szSource, media_info *ss)
 }
 
 /******************************************************************
+ *  MsiSourceListEnumSourcesA   (MSI.@)
+ */
+UINT WINAPI MsiSourceListEnumSourcesA(LPCSTR szProductCodeOrPatch, LPCSTR szUserSid,
+                                      MSIINSTALLCONTEXT dwContext,
+                                      DWORD dwOptions, DWORD dwIndex,
+                                      LPSTR szSource, LPDWORD pcchSource)
+{
+    FIXME("(%s, %s, %d, %d, %d, %p, %p): stub!\n", szProductCodeOrPatch, szUserSid,
+          dwContext, dwOptions, dwIndex, szSource, pcchSource);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/******************************************************************
  *  MsiSourceListGetInfoA   (MSI.@)
  */
 UINT WINAPI MsiSourceListGetInfoA( LPCSTR szProduct, LPCSTR szUserSid,




More information about the wine-cvs mailing list