ole32: Add CoGetDefaultContext stub (try 2)
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Thu Sep 20 04:51:40 CDT 2012
Hi,
Changelog:
ole32: Add CoGetDefaultContext stub
Best Regards
Alistair Leslie-Hughes
-------------- next part --------------
>From 238e3d3901aec2cb32ad1cf2b8154dd7577bb604 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun, 23 Sep 2012 14:02:21 +1000
Subject: [PATCH] Add CoGetDefaultContext stub
To: wine-patches <wine-patches at winehq.org>
---
dlls/ole32/compobj.c | 9 +++++++++
dlls/ole32/ole32.spec | 1 +
2 files changed, 10 insertions(+)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 0055d15..2019b41 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -4279,6 +4279,15 @@ HRESULT WINAPI CoGetContextToken( ULONG_PTR *token )
return S_OK;
}
+/***********************************************************************
+ * CoGetDefaultContext [OLE32.@]
+ */
+HRESULT WINAPI CoGetDefaultContext(APTTYPE type, REFIID riid, LPVOID *ppv)
+{
+ FIXME("%d %s %p stub\n", type, debugstr_guid(riid), ppv);
+ return E_NOINTERFACE;
+}
+
HRESULT Handler_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
static const WCHAR wszInprocHandler32[] = {'I','n','p','r','o','c','H','a','n','d','l','e','r','3','2',0};
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index a27adfb..b9eb50e 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -27,6 +27,7 @@
@ stdcall CoGetContextToken(ptr)
@ stdcall CoGetCurrentLogicalThreadId(ptr)
@ stdcall CoGetCurrentProcess()
+@ stdcall CoGetDefaultContext(long ptr ptr)
@ stub CoGetInstanceFromFile #@ stdcall (ptr ptr ptr long wstr long ptr) return 0,ERR_NOTIMPLEMENTED
@ stub CoGetInstanceFromIStorage #@ stdcall (ptr ptr ptr long ptr long ptr) return 0,ERR_NOTIMPLEMENTED
@ stdcall CoGetInterfaceAndReleaseStream(ptr ptr ptr)
--
1.7.9.5
More information about the wine-patches
mailing list