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

Alexandre Julliard julliard at winehq.org
Mon Dec 15 08:27:18 CST 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Sun Dec 14 21:06:55 2008 -0600

msi: Add a stub implementation of MsiGetPatchInfoEx.

---

 dlls/msi/msi.c    |   22 ++++++++++++++++++++++
 dlls/msi/msi.spec |    4 ++--
 include/msi.h     |    4 ++++
 3 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index ef1b871..7c980ee 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -1190,6 +1190,28 @@ done:
     return r;
 }
 
+UINT WINAPI MsiGetPatchInfoExA(LPCSTR szPatchCode, LPCSTR szProductCode,
+                               LPCSTR szUserSid, MSIINSTALLCONTEXT dwContext,
+                               LPCSTR szProperty, LPSTR lpValue, DWORD *pcchValue)
+{
+    FIXME("(%s, %s, %s, %d, %s, %p, %p): stub!\n", debugstr_a(szPatchCode),
+          debugstr_a(szProductCode), debugstr_a(szUserSid), dwContext,
+          debugstr_a(szProperty), lpValue, pcchValue);
+
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+UINT WINAPI MsiGetPatchInfoExW(LPCWSTR szPatchCode, LPCWSTR szProductCode,
+                               LPCWSTR szUserSid, MSIINSTALLCONTEXT dwContext,
+                               LPCWSTR szProperty, LPWSTR lpValue, DWORD *pcchValue)
+{
+    FIXME("(%s, %s, %s, %d, %s, %p, %p): stub!\n", debugstr_w(szPatchCode),
+          debugstr_w(szProductCode), debugstr_w(szUserSid), dwContext,
+          debugstr_w(szProperty), lpValue, pcchValue);
+
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
 UINT WINAPI MsiEnableLogA(DWORD dwLogMode, LPCSTR szLogFile, DWORD attributes)
 {
     LPWSTR szwLogFile = NULL;
diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index db7aa90..017fdbe 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -236,8 +236,8 @@
 240 stub MsiApplyMultiplePatchesW
 241 stub MsiExtractPatchXMLDataA
 242 stub MsiExtractPatchXMLDataW
-243 stub MsiGetPatchInfoExA
-244 stub MsiGetPatchInfoExW
+243 stdcall MsiGetPatchInfoExA(str str str long str ptr ptr)
+244 stdcall MsiGetPatchInfoExW(wstr wstr wstr long wstr ptr ptr)
 245 stdcall MsiEnumProductsExA(str str long long ptr ptr ptr ptr)
 246 stdcall MsiEnumProductsExW(wstr wstr long long ptr ptr ptr ptr)
 247 stdcall MsiGetProductInfoExA(str str long str ptr ptr)
diff --git a/include/msi.h b/include/msi.h
index 2dbe4d3..5564fcd 100644
--- a/include/msi.h
+++ b/include/msi.h
@@ -497,6 +497,10 @@ UINT WINAPI MsiGetProductInfoExA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, LPST
 UINT WINAPI MsiGetProductInfoExW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD);
 #define     MsiGetProductInfoEx WINELIB_NAME_AW(MsiGetProductInfoEx)
 
+UINT WINAPI MsiGetPatchInfoExA(LPCSTR, LPCSTR, LPCSTR, MSIINSTALLCONTEXT, LPCSTR, LPSTR, LPDWORD);
+UINT WINAPI MsiGetPatchInfoExW(LPCWSTR, LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, LPCWSTR, LPWSTR, LPDWORD);
+#define     MsiGetPatchInfoEx WINELIB_NAME_AW(MsiGetPatchInfoEx)
+
 UINT WINAPI MsiEnableLogA(DWORD, LPCSTR, DWORD);
 UINT WINAPI MsiEnableLogW(DWORD, LPCWSTR, DWORD);
 #define     MsiEnableLog WINELIB_NAME_AW(MsiEnableLog)




More information about the wine-cvs mailing list