From 923861fbd2db21d05a09a356f7ff625edd24bc41 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Fri, 22 Feb 2002 21:22:06 +0000 Subject: [PATCH] Compile fix for GCC 2.7.x. --- dlls/ole32/marshal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index 4b8754b382d..65100afbfef 100644 --- a/dlls/ole32/marshal.c +++ b/dlls/ole32/marshal.c @@ -562,7 +562,7 @@ CoGetInterfaceAndReleaseStream(LPSTREAM pStm,REFIID riid, LPVOID *ppv) { return IUnknown_QueryInterface(pUnk,riid,ppv); } -static WINAPI HRESULT +static HRESULT WINAPI SMCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) { *ppv = NULL; if (IsEqualIID(riid,&IID_IUnknown) || IsEqualIID(riid,&IID_IClassFactory)) { @@ -571,10 +571,10 @@ SMCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) { } return E_NOINTERFACE; } -static WINAPI ULONG SMCF_AddRef(LPCLASSFACTORY iface) { return 2; } -static WINAPI ULONG SMCF_Release(LPCLASSFACTORY iface) { return 1; } +static ULONG WINAPI SMCF_AddRef(LPCLASSFACTORY iface) { return 2; } +static ULONG WINAPI SMCF_Release(LPCLASSFACTORY iface) { return 1; } -static WINAPI HRESULT +static HRESULT WINAPI SMCF_CreateInstance( LPCLASSFACTORY iface, LPUNKNOWN pUnk, REFIID riid, LPVOID *ppv ) { @@ -592,7 +592,7 @@ SMCF_CreateInstance( return E_NOINTERFACE; } -static WINAPI HRESULT +static HRESULT WINAPI SMCF_LockServer(LPCLASSFACTORY iface, BOOL fLock) { FIXME("(%d), stub!\n",fLock); return S_OK;