Hans Leidekker : ole32: Add stub implementations of CoGetActivationState and CoGetCallState.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 3 14:52:36 CDT 2015


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Aug  3 11:25:33 2015 +0200

ole32: Add stub implementations of CoGetActivationState and CoGetCallState.

---

 dlls/combase/combase.spec |  4 ++--
 dlls/ole32/ole32.spec     |  2 ++
 dlls/ole32/ole32_main.c   | 18 ++++++++++++++++++
 3 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/dlls/combase/combase.spec b/dlls/combase/combase.spec
index ac095ce..90f6c9d 100644
--- a/dlls/combase/combase.spec
+++ b/dlls/combase/combase.spec
@@ -88,11 +88,11 @@
 @ stub CoEnableCallCancellation
 @ stdcall CoFreeUnusedLibraries() ole32.CoFreeUnusedLibraries
 @ stdcall CoFreeUnusedLibrariesEx(long long) ole32.CoFreeUnusedLibrariesEx
-@ stub CoGetActivationState
+@ stdcall CoGetActivationState(int128 long ptr) ole32.CoGetActivationState
 @ stub CoGetApartmentID
 @ stub CoGetApartmentType
 @ stdcall CoGetCallContext(ptr ptr) ole32.CoGetCallContext
-@ stub CoGetCallState
+@ stdcall CoGetCallState(long ptr) ole32.CoGetCallState
 @ stdcall CoGetCallerTID(ptr) ole32.CoGetCallerTID
 @ stub CoGetCancelObject
 @ stdcall CoGetClassObject(ptr long ptr ptr ptr) ole32.CoGetClassObject
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..7c12f1c 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 WINAPI 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;
+}




More information about the wine-cvs mailing list