urlmon: Fix BindToStorage test.

This commit is contained in:
Jacek Caban 2005-12-16 12:40:39 +01:00 committed by Alexandre Julliard
parent a2363a3e5e
commit 90c70f755b
2 changed files with 2 additions and 3 deletions

View file

@ -401,7 +401,7 @@ static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback)
hres = IBindCtx_GetObjectParam(pbc, wszBSCBHolder, (IUnknown**)callback);
if(FAILED(hres))
return INET_E_DATA_NOT_AVAILABLE;
return MK_E_SYNTAX;
return S_OK;
}

View file

@ -694,8 +694,7 @@ static void test_BindToStorage_fail(void)
ok(hres == S_OK, "CreateAsyncBindCtxEx failed: %08lx\n", hres);
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
ok(hres == INET_E_DATA_NOT_AVAILABLE,
"hres=%08lx, expected INET_E_DATA_NOT_AVAILABLE\n", hres);
ok(hres == MK_E_SYNTAX, "hres=%08lx, expected INET_E_SYNTAX\n", hres);
IBindCtx_Release(bctx);