[PATCH 5/6] combase: Move CoGetActivationState().

Nikolay Sivov nsivov at codeweavers.com
Fri Aug 7 01:11:47 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/combase/combase.c    | 10 ++++++++++
 dlls/combase/combase.spec |  2 +-
 dlls/ole32/ole32.spec     |  2 +-
 dlls/ole32/ole32_main.c   |  9 ---------
 4 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/dlls/combase/combase.c b/dlls/combase/combase.c
index 7947109fef5..1370aa82718 100644
--- a/dlls/combase/combase.c
+++ b/dlls/combase/combase.c
@@ -617,3 +617,13 @@ HRESULT WINAPI CoGetCallState(int arg1, ULONG *arg2)
 
     return E_NOTIMPL;
 }
+
+/***********************************************************************
+ *          CoGetActivationState    (combase.@)
+ */
+HRESULT WINAPI CoGetActivationState(GUID guid, DWORD arg2, DWORD *arg3)
+{
+    FIXME("%s, %x, %p.\n", debugstr_guid(&guid), arg2, arg3);
+
+    return E_NOTIMPL;
+}
diff --git a/dlls/combase/combase.spec b/dlls/combase/combase.spec
index b9ccea59132..4f737aeb53a 100644
--- a/dlls/combase/combase.spec
+++ b/dlls/combase/combase.spec
@@ -93,7 +93,7 @@
 @ stdcall CoFileTimeNow(ptr)
 @ stdcall CoFreeUnusedLibraries() ole32.CoFreeUnusedLibraries
 @ stdcall CoFreeUnusedLibrariesEx(long long) ole32.CoFreeUnusedLibrariesEx
-@ stdcall CoGetActivationState(int128 long ptr) ole32.CoGetActivationState
+@ stdcall CoGetActivationState(int128 long ptr)
 @ stub CoGetApartmentID
 @ stdcall CoGetApartmentType(ptr ptr) ole32.CoGetApartmentType
 @ stdcall CoGetCallContext(ptr ptr) ole32.CoGetCallContext
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index 370a32eeaed..ef074bbc26e 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -25,7 +25,7 @@
 @ stdcall CoFreeLibrary(long)
 @ stdcall CoFreeUnusedLibraries()
 @ stdcall CoFreeUnusedLibrariesEx(long long)
-@ stdcall CoGetActivationState(int128 long ptr)
+@ stdcall CoGetActivationState(int128 long ptr) combase.CoGetActivationState
 @ stdcall CoGetApartmentType(ptr ptr)
 @ stdcall CoGetCallContext(ptr ptr)
 @ stdcall CoGetCallState(long ptr) combase.CoGetCallState
diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c
index 13b3d3681b1..daff46864ba 100644
--- a/dlls/ole32/ole32_main.c
+++ b/dlls/ole32/ole32_main.c
@@ -158,15 +158,6 @@ 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;
-}
-
 /******************************************************************************
  *		IsValidInterface	[OLE32.@]
  *
-- 
2.28.0




More information about the wine-devel mailing list