[PATCH 1/2] ole32: add CoEnableCallCancellation stub
Huw Davies
huw at codeweavers.com
Thu Feb 28 04:21:45 CST 2019
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 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()
Thanks. I've sent in updated versions with the prototypes added to objbase.h
and updated spec files for the other com dlls.
Huw.
More information about the wine-devel
mailing list