Daniel Jelinski : xolehlp: Fix calling convention.

Alexandre Julliard julliard at winehq.org
Wed May 1 13:27:27 CDT 2013


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

Author: Daniel Jelinski <djelinski1 at gmail.com>
Date:   Tue Apr 30 23:15:43 2013 +0200

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)




More information about the wine-cvs mailing list