Louis Lenders : msi: Add MsiSourceListForceResolution{A,W} stub.
Alexandre Julliard
julliard at winehq.org
Fri Aug 23 09:31:24 CDT 2019
Module: wine
Branch: stable
Commit: 8dbcf21fcfe9ec6d62257ef20ebc35203aea0181
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8dbcf21fcfe9ec6d62257ef20ebc35203aea0181
Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date: Wed Mar 27 20:32:08 2019 +0100
msi: Add MsiSourceListForceResolution{A,W} stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46881
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 2e95d2247d8fb83d040bdfce388ed4e96172427c)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/msi/msi.spec | 4 ++--
dlls/msi/source.c | 18 ++++++++++++++++++
include/msi.h | 4 ++++
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/msi.spec b/dlls/msi/msi.spec
index aecba1b..447ec2c 100644
--- a/dlls/msi/msi.spec
+++ b/dlls/msi/msi.spec
@@ -205,8 +205,8 @@
209 stdcall MsiSourceListClearAllW(wstr wstr long)
210 stdcall MsiSourceListAddSourceA(str str long str)
211 stdcall MsiSourceListAddSourceW(wstr wstr long wstr)
-212 stub MsiSourceListForceResolutionA
-213 stub MsiSourceListForceResolutionW
+212 stdcall MsiSourceListForceResolutionA(str str long)
+213 stdcall MsiSourceListForceResolutionW(wstr wstr long)
214 stdcall MsiIsProductElevatedA(str ptr)
215 stdcall MsiIsProductElevatedW(wstr ptr)
216 stdcall MsiGetShortcutTargetA(str ptr ptr ptr)
diff --git a/dlls/msi/source.c b/dlls/msi/source.c
index e2cf7fc..af67362 100644
--- a/dlls/msi/source.c
+++ b/dlls/msi/source.c
@@ -1327,3 +1327,21 @@ UINT WINAPI MsiSourceListClearSourceW(LPCWSTR szProductCodeOrPatchCode, LPCWSTR
dwContext, dwOptions, debugstr_w(szSource));
return ERROR_SUCCESS;
}
+
+/******************************************************************
+ * MsiSourceListForceResolutionA (MSI.@)
+ */
+UINT WINAPI MsiSourceListForceResolutionA(const CHAR *product, const CHAR *user, DWORD reserved)
+{
+ FIXME("(%s %s %x)\n", debugstr_a(product), debugstr_a(user), reserved);
+ return ERROR_SUCCESS;
+}
+
+/******************************************************************
+ * MsiSourceListForceResolutionW (MSI.@)
+ */
+UINT WINAPI MsiSourceListForceResolutionW(const WCHAR *product, const WCHAR *user, DWORD reserved)
+{
+ FIXME("(%s %s %x)\n", debugstr_w(product), debugstr_w(user), reserved);
+ return ERROR_SUCCESS;
+}
diff --git a/include/msi.h b/include/msi.h
index 417b606..604331a 100644
--- a/include/msi.h
+++ b/include/msi.h
@@ -672,6 +672,10 @@ UINT WINAPI MsiSourceListAddMediaDiskA(LPCSTR, LPCSTR, MSIINSTALLCONTEXT, DWORD,
UINT WINAPI MsiSourceListAddMediaDiskW(LPCWSTR, LPCWSTR, MSIINSTALLCONTEXT, DWORD, DWORD, LPCWSTR, LPCWSTR);
#define MsiSourceListAddMediaDisk WINELIB_NAME_AW(MsiSourceListAddMediaDisk)
+UINT WINAPI MsiSourceListForceResolutionA(const CHAR*, const CHAR*, DWORD);
+UINT WINAPI MsiSourceListForceResolutionW(const WCHAR*, const WCHAR*, DWORD);
+#define MsiSourceListForceResolution WINELIB_NAME_AW(MsiSourceListForceResolution)
+
UINT WINAPI MsiEnumPatchesA(LPCSTR, DWORD, LPSTR, LPSTR, LPDWORD);
UINT WINAPI MsiEnumPatchesW(LPCWSTR, DWORD, LPWSTR, LPWSTR, LPDWORD);
#define MsiEnumPatches WINELIB_NAME_AW(MsiEnumPatches)
More information about the wine-cvs
mailing list