mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 08:46:10 +00:00
urlmon: Fix BindToStorage test.
This commit is contained in:
parent
a2363a3e5e
commit
90c70f755b
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue