Commit 90c70f75 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Fix BindToStorage test.

parent a2363a3e
...@@ -401,7 +401,7 @@ static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback) ...@@ -401,7 +401,7 @@ static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback)
hres = IBindCtx_GetObjectParam(pbc, wszBSCBHolder, (IUnknown**)callback); hres = IBindCtx_GetObjectParam(pbc, wszBSCBHolder, (IUnknown**)callback);
if(FAILED(hres)) if(FAILED(hres))
return INET_E_DATA_NOT_AVAILABLE; return MK_E_SYNTAX;
return S_OK; return S_OK;
} }
......
...@@ -694,8 +694,7 @@ static void test_BindToStorage_fail(void) ...@@ -694,8 +694,7 @@ static void test_BindToStorage_fail(void)
ok(hres == S_OK, "CreateAsyncBindCtxEx failed: %08lx\n", hres); ok(hres == S_OK, "CreateAsyncBindCtxEx failed: %08lx\n", hres);
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk); hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
ok(hres == INET_E_DATA_NOT_AVAILABLE, ok(hres == MK_E_SYNTAX, "hres=%08lx, expected INET_E_SYNTAX\n", hres);
"hres=%08lx, expected INET_E_DATA_NOT_AVAILABLE\n", hres);
IBindCtx_Release(bctx); IBindCtx_Release(bctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment