Rémi Bernon (@rbernon) commented about dlls/windows.media.speech/async.c:
- return hr;
}
HRESULT WINAPI async_void_get_Completed( IAsyncAction *iface, IAsyncActionCompletedHandler **handler ) {
- FIXME("iface %p, handler %p stub!\n", iface, handler);
- return E_NOTIMPL;
- struct async_void *impl = impl_from_IAsyncAction(iface);
- HRESULT hr = S_OK;
- FIXME("iface %p, handler %p semi stub!\n", iface, handler);
- if (impl->status == Closed)
hr = E_ILLEGAL_METHOD_CALL;
- *handler = (impl->handler != HANDLER_NOT_SET) ? impl->handler : NULL;
This will need to be fixed in the `async_inspectable` too but you need to `AddRef` on the returned handler if it's not `NULL`.