From 849fef0b82f1a9d933614d74191cbf8efda0e7c1 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 9 May 2018 14:58:59 +0200 Subject: [PATCH] urlmon: Support querying interfaces from aggregated handlers in BindProtocol. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/urlmon/bindprot.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/urlmon/bindprot.c b/dlls/urlmon/bindprot.c index 87ec23bacb0..1e5ec145f9e 100644 --- a/dlls/urlmon/bindprot.c +++ b/dlls/urlmon/bindprot.c @@ -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)); }