urlmon: Set BINF_NEEDFILE flag for synchronous binding of builtin protocols.

This commit is contained in:
Jacek Caban 2010-05-03 18:15:25 +02:00 committed by Alexandre Julliard
parent b5faada67f
commit 9ba1ccf55b
1 changed files with 1 additions and 1 deletions

View File

@ -1431,7 +1431,7 @@ static HRESULT Binding_Create(IMoniker *mon, Binding *binding_ctx, LPCWSTR url,
if(to_obj) if(to_obj)
ret->bindinfo.dwOptions |= 0x100000; ret->bindinfo.dwOptions |= 0x100000;
if(!is_urlmon_protocol(url)) if(!(ret->bindf & BINDF_ASYNCHRONOUS) || !is_urlmon_protocol(url))
ret->bindf |= BINDF_NEEDFILE; ret->bindf |= BINDF_NEEDFILE;
ret->url = heap_strdupW(url); ret->url = heap_strdupW(url);