Wine bug https://bugs.winehq.org/show_bug.cgi?id=46732
Signed-off-by: Louis Lenders xerox.xerox2000x@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()
Signed-off-by: Louis Lenders xerox.xerox2000x@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)
On Wed, Feb 27, 2019 at 07:04:32AM -0500, Louis Lenders wrote:
Wine bug https://bugs.winehq.org/show_bug.cgi?id=46732
Signed-off-by: Louis Lenders xerox.xerox2000x@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()
Thanks. I've sent in updated versions with the prototypes added to objbase.h and updated spec files for the other com dlls.
Huw.