https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d27e3499c7674b120b3e2…
commit d27e3499c7674b120b3e262e90ea15b729d8dcc2
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sat Mar 12 16:34:10 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:27:55 2022 +0100
[WINESYNC] msi: Mark exported wine functions CDECL.
Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id d0451d57348c0a25290f9326ca150843cd7d4486 by Zebediah Figura
<zfigura(a)codeweavers.com>
---
base/system/msiexec/msiexec.c | 2 +-
dll/win32/msi/custom.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/system/msiexec/msiexec.c b/base/system/msiexec/msiexec.c
index 2ed055771f6..5ebfea78ebf 100644
--- a/base/system/msiexec/msiexec.c
+++ b/base/system/msiexec/msiexec.c
@@ -393,7 +393,7 @@ static DWORD DoUnregServer(void)
return ret;
}
-extern UINT __wine_msi_call_dll_function(GUID *guid);
+extern UINT CDECL __wine_msi_call_dll_function(GUID *guid);
static int DoEmbedding(LPCWSTR key)
{
diff --git a/dll/win32/msi/custom.c b/dll/win32/msi/custom.c
index 6ffc27aa4ba..d444960c96f 100644
--- a/dll/win32/msi/custom.c
+++ b/dll/win32/msi/custom.c
@@ -485,7 +485,7 @@ static void handle_msi_break(LPCSTR target)
static WCHAR ncalrpcW[] =
{'n','c','a','l','r','p','c',0};
static WCHAR endpoint_lrpcW[] = {'m','s','i',0};
-UINT __wine_msi_call_dll_function(const GUID *guid)
+UINT CDECL __wine_msi_call_dll_function(const GUID *guid)
{
MsiCustomActionEntryPoint fn;
MSIHANDLE remote_package = 0;