[PATCH 1/2] ole32: add CoEnableCallCancellation stub
Louis Lenders
xerox.xerox2000x at gmail.com
Wed Feb 27 06:04:32 CST 2019
Wine bug https://bugs.winehq.org/show_bug.cgi?id=46732
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
dlls/ole32/compobj.c | 10 ++++++++++
dlls/ole32/ole32.spec | 1 +
2 files changed, 11 insertions(+)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index a28ff79924..62ba6ed816 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -5197,6 +5197,16 @@ HRESULT WINAPI CoGetApartmentType(APTTYPE *type, APTTYPEQUALIFIER *qualifier)
return info->apt ? S_OK : CO_E_NOTINITIALIZED;
}
+/***********************************************************************
+ * CoEnableCallCancellation [OLE32.@]
+ */
+HRESULT WINAPI CoEnableCallCancellation(void* reserved)
+{
+ FIXME("(%p): stub\n", reserved);
+
+ return E_FAIL;
+}
+
/***********************************************************************
* CoRegisterSurrogate [OLE32.@]
*/
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index d5a71b31ce..b2db3fdf04 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -16,6 +16,7 @@
@ stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr)
@ stdcall CoDisconnectObject(ptr long)
@ stdcall CoDosDateTimeToFileTime(long long ptr) kernel32.DosDateTimeToFileTime
+@ stdcall CoEnableCallCancellation(ptr)
@ stdcall CoFileTimeNow(ptr)
@ stdcall CoFileTimeToDosDateTime(ptr ptr ptr) kernel32.FileTimeToDosDateTime
@ stdcall CoFreeAllLibraries()
--
2.20.1
More information about the wine-devel
mailing list