From: Hans Leidekker Subject: ole32: Add stub implementations of CoGetActivationState and CoGetCallState. Message-Id: <1438593933.28205.17.camel@codeweavers.com> Date: Mon, 03 Aug 2015 11:25:33 +0200 --- dlls/ole32/ole32.spec | 2 ++ dlls/ole32/ole32_main.c | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec index b36e683..8c4e8e3 100644 --- a/dlls/ole32/ole32.spec +++ b/dlls/ole32/ole32.spec @@ -22,7 +22,9 @@ @ stdcall CoFreeLibrary(long) @ stdcall CoFreeUnusedLibraries() @ stdcall CoFreeUnusedLibrariesEx(long long) +@ stdcall CoGetActivationState(int128 long ptr) @ stdcall CoGetCallContext(ptr ptr) +@ stdcall CoGetCallState(long ptr) @ stdcall CoGetCallerTID(ptr) @ stdcall CoGetClassObject(ptr long ptr ptr ptr) @ stdcall CoGetContextToken(ptr) diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c index 97b18a0..049d7f5 100644 --- a/dlls/ole32/ole32_main.c +++ b/dlls/ole32/ole32_main.c @@ -160,3 +160,21 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel, return hmem; } + +/*********************************************************************** + * CoGetActivationState (ole32.@) + */ +HRESULT CoGetActivationState(GUID guid, DWORD unknown, DWORD *unknown2) +{ + FIXME("%s, %x, %p\n", debugstr_guid(&guid), unknown, unknown2); + return E_NOTIMPL; +} + +/*********************************************************************** + * CoGetCallState (ole32.@) + */ +HRESULT WINAPI CoGetCallState(int unknown, PULONG unknown2) +{ + FIXME("%d, %p\n", unknown, unknown2); + return E_NOTIMPL; +}