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
e9189df9
Commit
e9189df9
authored
Jan 31, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Don't create stgmed_obj for binding to object.
parent
4985ca0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
binding.c
dlls/urlmon/binding.c
+9
-6
No files found.
dlls/urlmon/binding.c
View file @
e9189df9
...
...
@@ -1458,11 +1458,6 @@ static HRESULT Binding_Create(IMoniker *mon, Binding *binding_ctx, LPCWSTR url,
Binding
*
ret
;
HRESULT
hres
;
if
(
!
to_obj
&&
!
IsEqualGUID
(
&
IID_IStream
,
riid
))
{
FIXME
(
"Unsupported riid %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOTIMPL
;
}
URLMON_LockModule
();
ret
=
heap_alloc_zero
(
sizeof
(
Binding
));
...
...
@@ -1545,7 +1540,15 @@ static HRESULT Binding_Create(IMoniker *mon, Binding *binding_ctx, LPCWSTR url,
ret
->
stgmed_buf
=
create_stgmed_buf
(
ret
->
protocol
);
}
ret
->
stgmed_obj
=
create_stgmed_stream
(
ret
->
stgmed_buf
);
if
(
to_obj
)
{
ret
->
stgmed_obj
=
NULL
;
}
else
if
(
IsEqualGUID
(
&
IID_IStream
,
riid
))
{
ret
->
stgmed_obj
=
create_stgmed_stream
(
ret
->
stgmed_buf
);
}
else
{
FIXME
(
"Unsupported riid %s
\n
"
,
debugstr_guid
(
riid
));
IBinding_Release
(
BINDING
(
ret
));
return
E_NOTIMPL
;
}
*
binding
=
ret
;
return
S_OK
;
...
...
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