From 9ba1ccf55bea69e4de7c8945b0e5893e24da0cae Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 3 May 2010 18:15:25 +0200 Subject: [PATCH] urlmon: Set BINF_NEEDFILE flag for synchronous binding of builtin protocols. --- dlls/urlmon/binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index 8c05dbd6bf7..b566265572f 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -1431,7 +1431,7 @@ static HRESULT Binding_Create(IMoniker *mon, Binding *binding_ctx, LPCWSTR url, if(to_obj) ret->bindinfo.dwOptions |= 0x100000; - if(!is_urlmon_protocol(url)) + if(!(ret->bindf & BINDF_ASYNCHRONOUS) || !is_urlmon_protocol(url)) ret->bindf |= BINDF_NEEDFILE; ret->url = heap_strdupW(url);