urlmon: Support querying interfaces from aggregated handlers in BindProtocol.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-05-09 14:58:59 +02:00 committed by Alexandre Julliard
parent fd2fb4a7a5
commit 849fef0b82
1 changed files with 5 additions and 0 deletions

View File

@ -309,6 +309,11 @@ static HRESULT WINAPI BindProtocol_QueryInterface(IInternetProtocolEx *iface, RE
IWinInetHttpInfo_Release(http_info);
}
}
}else if(This->protocol_unk) {
HRESULT hres;
hres = IUnknown_QueryInterface(This->protocol_unk, riid, ppv);
TRACE("(%p) aggregated handler returned %08x for %s\n", This, hres, debugstr_guid(riid));
return hres;
}else {
WARN("not supported interface %s\n", debugstr_guid(riid));
}