Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
746ffa65
Commit
746ffa65
authored
Feb 18, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Use BindToStorage hack only for binding to IStream.
parent
5321c715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
umon.c
dlls/urlmon/umon.c
+7
-14
No files found.
dlls/urlmon/umon.c
View file @
746ffa65
...
...
@@ -493,10 +493,7 @@ static HRESULT WINAPI URLMonikerImpl_BindToObject(IMoniker* iface,
/******************************************************************************
* URLMoniker_BindToStorage
******************************************************************************/
static
HRESULT
URLMonikerImpl_BindToStorage_hack
(
LPCWSTR
URLName
,
IBindCtx
*
pbc
,
REFIID
riid
,
VOID
**
ppvObject
)
static
HRESULT
URLMonikerImpl_BindToStorage_hack
(
LPCWSTR
URLName
,
IBindCtx
*
pbc
,
VOID
**
ppvObject
)
{
HRESULT
hres
;
BINDINFO
bi
;
...
...
@@ -505,12 +502,7 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName,
Binding
*
bind
;
int
len
;
WARN
(
"(%s %p %s %p)
\n
"
,
debugstr_w
(
URLName
),
pbc
,
debugstr_guid
(
riid
),
ppvObject
);
if
(
!
IsEqualIID
(
&
IID_IStream
,
riid
))
{
FIXME
(
"unsupported iid
\n
"
);
return
E_NOTIMPL
;
}
WARN
(
"(%s %p %p)
\n
"
,
debugstr_w
(
URLName
),
pbc
,
ppvObject
);
bind
=
heap_alloc_zero
(
sizeof
(
Binding
));
bind
->
lpVtbl
=
&
BindingVtbl
;
...
...
@@ -741,10 +733,11 @@ static HRESULT WINAPI URLMonikerImpl_BindToStorage(IMoniker* iface,
return
E_FAIL
;
}
if
(
url
.
nScheme
==
INTERNET_SCHEME_HTTPS
||
url
.
nScheme
==
INTERNET_SCHEME_FTP
||
url
.
nScheme
==
INTERNET_SCHEME_GOPHER
)
return
URLMonikerImpl_BindToStorage_hack
(
This
->
URLName
,
pbc
,
riid
,
ppvObject
);
if
(
IsEqualGUID
(
&
IID_IStream
,
riid
)
&&
(
url
.
nScheme
==
INTERNET_SCHEME_HTTPS
||
url
.
nScheme
==
INTERNET_SCHEME_FTP
||
url
.
nScheme
==
INTERNET_SCHEME_GOPHER
))
return
URLMonikerImpl_BindToStorage_hack
(
This
->
URLName
,
pbc
,
ppvObject
);
TRACE
(
"(%p)->(%p %p %s %p)
\n
"
,
This
,
pbc
,
pmkToLeft
,
debugstr_guid
(
riid
),
ppvObject
);
...
...
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