Compile fix for GCC 2.7.x.

This commit is contained in:
Stefan Leichter 2002-02-22 21:22:06 +00:00 committed by Alexandre Julliard
parent 3290038929
commit 923861fbd2
1 changed files with 5 additions and 5 deletions

View File

@ -562,7 +562,7 @@ CoGetInterfaceAndReleaseStream(LPSTREAM pStm,REFIID riid, LPVOID *ppv) {
return IUnknown_QueryInterface(pUnk,riid,ppv); return IUnknown_QueryInterface(pUnk,riid,ppv);
} }
static WINAPI HRESULT static HRESULT WINAPI
SMCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) { SMCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) {
*ppv = NULL; *ppv = NULL;
if (IsEqualIID(riid,&IID_IUnknown) || IsEqualIID(riid,&IID_IClassFactory)) { if (IsEqualIID(riid,&IID_IUnknown) || IsEqualIID(riid,&IID_IClassFactory)) {
@ -571,10 +571,10 @@ SMCF_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) {
} }
return E_NOINTERFACE; return E_NOINTERFACE;
} }
static WINAPI ULONG SMCF_AddRef(LPCLASSFACTORY iface) { return 2; } static ULONG WINAPI SMCF_AddRef(LPCLASSFACTORY iface) { return 2; }
static WINAPI ULONG SMCF_Release(LPCLASSFACTORY iface) { return 1; } static ULONG WINAPI SMCF_Release(LPCLASSFACTORY iface) { return 1; }
static WINAPI HRESULT static HRESULT WINAPI
SMCF_CreateInstance( SMCF_CreateInstance(
LPCLASSFACTORY iface, LPUNKNOWN pUnk, REFIID riid, LPVOID *ppv LPCLASSFACTORY iface, LPUNKNOWN pUnk, REFIID riid, LPVOID *ppv
) { ) {
@ -592,7 +592,7 @@ SMCF_CreateInstance(
return E_NOINTERFACE; return E_NOINTERFACE;
} }
static WINAPI HRESULT static HRESULT WINAPI
SMCF_LockServer(LPCLASSFACTORY iface, BOOL fLock) { SMCF_LockServer(LPCLASSFACTORY iface, BOOL fLock) {
FIXME("(%d), stub!\n",fLock); FIXME("(%d), stub!\n",fLock);
return S_OK; return S_OK;