[WINESYNC] msi: Add MsiSourceListForceResolution{A,W} stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46881
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 2e95d2247d8fb83d040bdfce388ed4e96172427c by Louis Lenders <xerox.xerox2000x@gmail.com>
This commit is contained in:
winesync 2022-03-13 01:21:44 +01:00 committed by Mark Jansen
parent d672ffc384
commit b3eae05b11
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 24 additions and 2 deletions

View file

@ -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)

View file

@ -1330,3 +1330,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;
}

View file

@ -1344,6 +1344,10 @@ MsiSourceListAddMediaDiskW(
#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(