Signed-off-by: Rémi Bernon rbernon@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;
+}