From 32fe6bdc13d2b788f4b402c599e73ff3a7255aeb Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Mon, 14 Feb 2000 19:56:21 +0000 Subject: [PATCH] Added stub for CoResumeClassObjects. --- dlls/ole32/clipboard.c | 10 +++++++--- dlls/ole32/compobj.c | 11 +++++++++++ dlls/ole32/ole32.spec | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c index 5b5036a7c11..e6ed9ef6fdb 100644 --- a/dlls/ole32/clipboard.c +++ b/dlls/ole32/clipboard.c @@ -1091,12 +1091,12 @@ static HRESULT WINAPI OLEClipbrd_IDataObject_GetData( * Declare "This" pointer */ ICOM_THIS(OLEClipbrd, iface); + + TRACE("(%p,%p,%p)\n", iface, pformatetcIn, pmedium); - if ( !pformatetcIn || !pformatetcIn || !pmedium ) + if ( !pformatetcIn || !pmedium ) return E_INVALIDARG; - TRACE("(%p, %p)\n", iface, pformatetcIn); - /* * If we have a data source placed on the clipboard (via OleSetClipboard) * simply delegate to the source object's QueryGetData @@ -1238,6 +1238,7 @@ static HRESULT WINAPI OLEClipbrd_IDataObject_SetData( STGMEDIUM* pmedium, BOOL fRelease) { + TRACE("\n"); return E_NOTIMPL; } @@ -1363,6 +1364,7 @@ static HRESULT WINAPI OLEClipbrd_IDataObject_DAdvise( IAdviseSink* pAdvSink, DWORD* pdwConnection) { + TRACE("\n"); return E_NOTIMPL; } @@ -1377,6 +1379,7 @@ static HRESULT WINAPI OLEClipbrd_IDataObject_DUnadvise( IDataObject* iface, DWORD dwConnection) { + TRACE("\n"); return E_NOTIMPL; } @@ -1391,6 +1394,7 @@ static HRESULT WINAPI OLEClipbrd_IDataObject_EnumDAdvise( IDataObject* iface, IEnumSTATDATA** ppenumAdvise) { + TRACE("\n"); return E_NOTIMPL; } diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index fbe506aad59..de56bbdbacc 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -1376,6 +1376,17 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, return hres; } +/**************************************************************************************** + * CoResumeClassObjects + * + * Resumes classobjects registered with REGCLS suspended + */ +HRESULT WINAPI CoResumeClassObjects(void) +{ + FIXME("\n"); + return S_OK; +} + /**************************************************************************************** * GetClassFile * diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index 632869f735d..71aa31fc1c8 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -173,7 +173,7 @@ type win32 170 stub CoGetInstanceFromIStorage # stdcall (ptr ptr ptr long ptr long ptr) return 0,ERR_NOTIMPLEMENTED 171 stub CoRegisterPSClsid # stdcall (ptr ptr) return 0,ERR_NOTIMPLEMENTED 172 stub CoReleaseServerProcess # stdcall () return 0,ERR_NOTIMPLEMENTED -173 stub CoResumeClassObjects # stdcall () return 0,ERR_NOTIMPLEMENTED +173 stdcall CoResumeClassObjects() CoResumeClassObjects 174 stub CoRevertToSelf # stdcall () return 0,ERR_NOTIMPLEMENTED 175 stub CoSetProxyBlanket # stdcall (ptr long long wstr long long ptr long) return 0,ERR_NOTIMPLEMENTED 176 stub CoSuspendClassObjects # stdcall () return 0,ERR_NOTIMPLEMENTED