Hans Leidekker : msi: Add a stub implementation for MsiEnumProductsEx{A, W} .

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 26 10:23:53 CDT 2007


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

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Wed Apr 25 20:49:43 2007 +0200

msi: Add a stub implementation for MsiEnumProductsEx{A, W}.

---

 dlls/msi/msi.spec   |    4 ++--
 dlls/msi/registry.c |   20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 420205f..2fe63b3 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -238,8 +238,8 @@
 242 stub MsiExtractPatchXMLDataW
 243 stub MsiGetPatchInfoExA
 244 stub MsiGetPatchInfoExW
-245 stub MsiEnumProductsExA
-246 stub MsiEnumProductsExW
+245 stdcall MsiEnumProductsExA(str str long long ptr ptr ptr ptr)
+246 stdcall MsiEnumProductsExW(wstr wstr long long ptr ptr ptr ptr)
 247 stub MsiGetProductInfoExA
 248 stub MsiGetProductInfoExW
 249 stub MsiQueryComponentStateA
diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c
index 1aa1303..088f46a 100644
--- a/dlls/msi/registry.c
+++ b/dlls/msi/registry.c
@@ -1068,3 +1068,23 @@ UINT WINAPI MsiEnumPatchesW( LPCWSTR szProduct, DWORD iPatchIndex,
           iPatchIndex, lpPatchBuf, lpTransformsBuf, pcchTransformsBuf);
     return ERROR_NO_MORE_ITEMS;
 }
+
+UINT WINAPI MsiEnumProductsExA( LPCSTR szProductCode, LPCSTR szUserSid,
+        DWORD dwContext, DWORD dwIndex, LPSTR szInstalledProductCode,
+        MSIINSTALLCONTEXT* pdwInstalledContext, LPSTR szSid, LPDWORD pcchSid)
+{
+    FIXME("%s %s %d %d %p %p %p %p\n", debugstr_a(szProductCode), debugstr_a(szUserSid),
+          dwContext, dwIndex, szInstalledProductCode, pdwInstalledContext,
+          szSid, pcchSid);
+    return ERROR_NO_MORE_ITEMS;
+}
+
+UINT WINAPI MsiEnumProductsExW( LPCWSTR szProductCode, LPCWSTR szUserSid,
+        DWORD dwContext, DWORD dwIndex, LPWSTR szInstalledProductCode,
+        MSIINSTALLCONTEXT* pdwInstalledContext, LPWSTR szSid, LPDWORD pcchSid)
+{
+    FIXME("%s %s %d %d %p %p %p %p\n", debugstr_w(szProductCode), debugstr_w(szUserSid),
+          dwContext, dwIndex, szInstalledProductCode, pdwInstalledContext,
+          szSid, pcchSid);
+    return ERROR_NO_MORE_ITEMS;
+}




More information about the wine-cvs mailing list