[PATCH 2/2] ole32: add CoDisableCallCancellation stub

Louis Lenders xerox.xerox2000x at gmail.com
Wed Feb 27 06:04:33 CST 2019


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 62ba6ed816..9c4c7cfe5b 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;
 }
 
+/***********************************************************************
+ *           CoDisableCallCancellation [OLE32.@]
+ */
+HRESULT WINAPI CoDisableCallCancellation(void* reserved)
+{
+    FIXME("(%p): stub\n", reserved);
+
+    return E_FAIL;
+}
+
 /***********************************************************************
  *           CoEnableCallCancellation [OLE32.@]
  */
diff --git a/dlls/ole32/ole32.spec b/dlls/ole32/ole32.spec
index b2db3fdf04..5e0e7030b2 100644
--- a/dlls/ole32/ole32.spec
+++ b/dlls/ole32/ole32.spec
@@ -14,6 +14,7 @@
 @ stdcall CoCreateGuid(ptr)
 @ stdcall CoCreateInstance(ptr ptr long ptr ptr)
 @ stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr)
+@ stdcall CoDisableCallCancellation(ptr)
 @ stdcall CoDisconnectObject(ptr long)
 @ stdcall CoDosDateTimeToFileTime(long long ptr) kernel32.DosDateTimeToFileTime
 @ stdcall CoEnableCallCancellation(ptr)
-- 
2.20.1




More information about the wine-devel mailing list