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
fe04ba0a
Commit
fe04ba0a
authored
Oct 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Use QueryInterface in get_callback.
parent
3d9b69f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
binding.c
dlls/urlmon/binding.c
+7
-4
No files found.
dlls/urlmon/binding.c
View file @
fe04ba0a
...
...
@@ -1035,15 +1035,18 @@ static const IServiceProviderVtbl ServiceProviderVtbl = {
static
HRESULT
get_callback
(
IBindCtx
*
pbc
,
IBindStatusCallback
**
callback
)
{
IUnknown
*
unk
;
HRESULT
hres
;
static
WCHAR
wszBSCBHolder
[]
=
{
'_'
,
'B'
,
'S'
,
'C'
,
'B'
,
'_'
,
'H'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
'_'
,
0
};
hres
=
IBindCtx_GetObjectParam
(
pbc
,
wszBSCBHolder
,
(
IUnknown
**
)
callback
);
if
(
FAILED
(
hres
))
return
MK_E_SYNTAX
;
hres
=
IBindCtx_GetObjectParam
(
pbc
,
wszBSCBHolder
,
&
unk
);
if
(
SUCCEEDED
(
hres
))
{
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IBindStatusCallback
,
(
void
**
)
callback
);
IUnknown_Release
(
unk
);
}
return
S
_OK
;
return
S
UCCEEDED
(
hres
)
?
S_OK
:
MK_E_SYNTAX
;
}
static
HRESULT
get_protocol
(
Binding
*
This
,
LPCWSTR
url
)
...
...
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