Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90c70f75
Commit
90c70f75
authored
Dec 16, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fix BindToStorage test.
parent
a2363a3e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
binding.c
dlls/urlmon/binding.c
+1
-1
url.c
dlls/urlmon/tests/url.c
+1
-2
No files found.
dlls/urlmon/binding.c
View file @
90c70f75
...
@@ -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
;
}
}
...
...
dlls/urlmon/tests/url.c
View file @
90c70f75
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment