Andrey Gusev : msi: Add MsiGetPatchFileListA/W stubs.

Alexandre Julliard julliard at winehq.org
Mon May 8 17:21:23 CDT 2017


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Mon May  8 12:46:32 2017 +0300

msi: Add MsiGetPatchFileListA/W stubs.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index f6b6151..8a11e83 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -1595,6 +1595,22 @@ done:
     return r;
 }
 
+UINT WINAPI MsiGetPatchFileListA(LPCSTR szProductCode, LPCSTR szPatchList,
+                                 LPDWORD pcFiles, MSIHANDLE **pphFileRecords)
+{
+    FIXME("(%s, %s, %p, %p) stub!\n", debugstr_a(szProductCode),
+          debugstr_a(szPatchList), pcFiles, pphFileRecords);
+    return ERROR_FUNCTION_FAILED;
+}
+
+UINT WINAPI MsiGetPatchFileListW(LPCWSTR szProductCode, LPCWSTR szPatchList,
+                                 LPDWORD pcFiles, MSIHANDLE **pphFileRecords)
+{
+    FIXME("(%s, %s, %p, %p) stub!\n", debugstr_w(szProductCode),
+          debugstr_w(szPatchList), pcFiles, pphFileRecords);
+    return ERROR_FUNCTION_FAILED;
+}
+
 UINT WINAPI MsiGetPatchInfoExA(LPCSTR szPatchCode, LPCSTR szProductCode,
                                LPCSTR szUserSid, MSIINSTALLCONTEXT dwContext,
                                LPCSTR szProperty, LPSTR lpValue, DWORD *pcchValue)
diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index 025ad6e..4288c9d 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -275,8 +275,8 @@
 279 stdcall MsiMessageBoxExA(long str str long long long long)
 280 stdcall MsiMessageBoxExW(long wstr wstr long long long long)
 281 stdcall MsiSetExternalUIRecord(ptr long ptr ptr)
-282 stub MsiGetPatchFileListA
-283 stub MsiGetPatchFileListW
+282 stdcall MsiGetPatchFileListA(str str ptr ptr)
+283 stdcall MsiGetPatchFileListW(wstr wstr ptr ptr)
 284 stdcall MsiBeginTransactionA(str long ptr ptr)
 285 stdcall MsiBeginTransactionW(wstr long ptr ptr)
 286 stdcall MsiEndTransaction(long)
diff --git a/include/msi.h b/include/msi.h
index 55c8f92..b227fbd 100644
--- a/include/msi.h
+++ b/include/msi.h
@@ -519,6 +519,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 MsiGetPatchFileListA(LPCSTR, LPCSTR, LPDWORD, MSIHANDLE**);
+UINT WINAPI MsiGetPatchFileListW(LPCWSTR, LPCWSTR, LPDWORD, MSIHANDLE**);
+#define     MsiGetPatchFileList WINELIB_NAME_AW(MsiGetPatchFileList)
+
 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)




More information about the wine-cvs mailing list