[1/4] xolehlp: fix calling convention (try 2)
Daniel Jeliński
djelinski1 at gmail.com
Wed May 1 02:17:26 CDT 2013
this time with updated spec file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130501/37383ab3/attachment.html>
-------------- next part --------------
From 818c606920456e2e8e417f2cad181d2e712b2b03 Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Tue, 30 Apr 2013 23:15:43 +0200
Subject: [PATCH 1/4] xolehlp: fix calling convention
---
dlls/xolehlp/xolehlp.c | 6 +++---
dlls/xolehlp/xolehlp.spec | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/xolehlp/xolehlp.c b/dlls/xolehlp/xolehlp.c
index e1ec12c..475ef67 100644
--- a/dlls/xolehlp/xolehlp.c
+++ b/dlls/xolehlp/xolehlp.c
@@ -38,7 +38,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
return TRUE;
}
-HRESULT WINAPI DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
+HRESULT CDECL DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
DWORD dwReserved1, WORD wcbReserved2, void *pvReserved2, void **ppv)
{
FIXME("(%s, %s, %s, %d, %d, %p, %p): stub\n", debugstr_a(host), debugstr_a(tm_name),
@@ -46,7 +46,7 @@ HRESULT WINAPI DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
return E_NOTIMPL;
}
-HRESULT WINAPI DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID riid,
+HRESULT CDECL DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID riid,
DWORD options, void *config, void **ppv)
{
FIXME("(%s, %s, %s, %d, %p, %p): stub\n", debugstr_a(host), debugstr_a(tm_name),
@@ -54,7 +54,7 @@ HRESULT WINAPI DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID rii
return E_NOTIMPL;
}
-HRESULT WINAPI DtcGetTransactionManagerExW(WCHAR *host, WCHAR *tm_name, REFIID riid,
+HRESULT CDECL DtcGetTransactionManagerExW(WCHAR *host, WCHAR *tm_name, REFIID riid,
DWORD options, void *config, void **ppv)
{
FIXME("(%s, %s, %s, %d, %p, %p): stub\n", debugstr_w(host), debugstr_w(tm_name),
diff --git a/dlls/xolehlp/xolehlp.spec b/dlls/xolehlp/xolehlp.spec
index 0b149de..80c7c60 100644
--- a/dlls/xolehlp/xolehlp.spec
+++ b/dlls/xolehlp/xolehlp.spec
@@ -1,6 +1,6 @@
@ stub GetDtcLocaleResourceHandle
-@ stdcall DtcGetTransactionManager(str str ptr long long ptr ptr)
+@ cdecl DtcGetTransactionManager(str str ptr long long ptr ptr)
@ stub DtcGetTransactionManagerEx
@ stub DtcGetTransactionManagerC
-@ stdcall DtcGetTransactionManagerExA(str str ptr long ptr ptr)
-@ stdcall DtcGetTransactionManagerExW(wstr wstr ptr long ptr ptr)
+@ cdecl DtcGetTransactionManagerExA(str str ptr long ptr ptr)
+@ cdecl DtcGetTransactionManagerExW(wstr wstr ptr long ptr ptr)
--
1.7.5.4
More information about the wine-patches
mailing list