urlmon: Set BINF_NEEDFILE flag for synchronous binding of builtin protocols.
This commit is contained in:
parent
b5faada67f
commit
9ba1ccf55b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue