[v2 PATCH] ole32: Add CoRegisterSurrogate/Ex stubs
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Mar 27 17:12:11 CDT 2017
v2 - Removed CoRegisterSurrogateEx from header
- Minor formatting changes
- Return E_NOTIMPL
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/ole32/compobj.c | 20 ++++++++++++++++++++
dlls/ole32/ole32.spec | 4 ++--
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 7dd10a7..1ce9cec 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -5074,6 +5074,26 @@ HRESULT WINAPI CoGetApartmentType(APTTYPE *type, APTTYPEQUALIFIER *qualifier)
return info->apt ? S_OK : CO_E_NOTINITIALIZED;
}
+/***********************************************************************
+ * CoRegisterSurrogate [OLE32.@]
+ */
+HRESULT WINAPI CoRegisterSurrogate(ISurrogate *surrogate)
+{
+ FIXME("(%p): stub\n", surrogate);
+
+ return E_NOTIMPL;
+}
+
+/***********************************************************************
+ * CoRegisterSurrogateEx [OLE32.@]
+ */
+HRESULT WINAPI CoRegisterSurrogateEx(REFGUID guid, void *reserved)
+{
+ FIXME("(%s %p): stub\n", debugstr_guid(guid), reserved);
+
+ return E_NOTIMPL;
+}
+
typedef struct {
IGlobalOptions IGlobalOptions_iface;
LONG ref;
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index eab8664..58bdd22 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -66,8 +66,8 @@
@ stdcall CoRegisterMallocSpy (ptr)
@ stdcall CoRegisterMessageFilter(ptr ptr)
@ stdcall CoRegisterPSClsid(ptr ptr)
-@ stub CoRegisterSurrogate
-@ stub CoRegisterSurrogateEx
+@ stdcall CoRegisterSurrogate(ptr)
+@ stdcall CoRegisterSurrogateEx(ptr ptr)
@ stdcall CoReleaseMarshalData(ptr)
@ stdcall CoReleaseServerProcess()
@ stdcall CoResumeClassObjects()
--
1.9.1
More information about the wine-patches
mailing list