[PATCH 4/5] windows.media.speech: Implement ResultGenerated event.
Rémi Bernon
rbernon at codeweavers.com
Wed Mar 16 14:13:43 CDT 2022
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
As you may have seen in the test runs on Windows, native likes to query
a whole lot of interfaces there, I believe it's looking for a
serialization marker, and adding IAgileObject seems to greatly reduce
the number of queried interfaces.
> +HRESULT WINAPI recognition_result_handler_QueryInterface( IHandler_RecognitionResult *iface, REFIID iid, void **out )
> +{
> + if (IsEqualGUID(iid, &IID_IUnknown) ||
> + IsEqualGUID(iid, &IID_IHandler_RecognitionResult))
> + {
> + IUnknown_AddRef(iface);
> + *out = iface;
> + return S_OK;
> + }
> +
> + trace("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(iid));
> + *out = NULL;
> + return E_NOINTERFACE;
> +}
> +
More information about the wine-devel
mailing list