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
f8236c5a
Commit
f8236c5a
authored
Aug 13, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Improved BindToObject failure when MIME handler is not available.
parent
ee6734e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
binding.c
dlls/urlmon/binding.c
+9
-7
No files found.
dlls/urlmon/binding.c
View file @
f8236c5a
...
...
@@ -299,16 +299,18 @@ static void create_object(Binding *binding)
return
;
}
if
(
!
(
clsid_str
=
get_mime_clsid
(
binding
->
mime
,
&
clsid
)))
{
FIXME
(
"Could not find object for MIME %s
\n
"
,
debugstr_w
(
binding
->
mime
));
return
;
}
if
((
clsid_str
=
get_mime_clsid
(
binding
->
mime
,
&
clsid
)))
IBindStatusCallback_OnProgress
(
binding
->
callback
,
0
,
0
,
BINDSTATUS_CLASSIDAVAILABLE
,
clsid_str
);
IBindStatusCallback_OnProgress
(
binding
->
callback
,
0
,
0
,
BINDSTATUS_CLASSIDAVAILABLE
,
clsid_str
);
IBindStatusCallback_OnProgress
(
binding
->
callback
,
0
,
0
,
BINDSTATUS_BEGINSYNCOPERATION
,
NULL
);
hres
=
create_mime_object
(
binding
,
&
clsid
,
clsid_str
);
heap_free
(
clsid_str
);
if
(
clsid_str
)
{
hres
=
create_mime_object
(
binding
,
&
clsid
,
clsid_str
);
heap_free
(
clsid_str
);
}
else
{
FIXME
(
"Could not find object for MIME %s
\n
"
,
debugstr_w
(
binding
->
mime
));
hres
=
REGDB_E_CLASSNOTREG
;
}
IBindStatusCallback_OnProgress
(
binding
->
callback
,
0
,
0
,
BINDSTATUS_ENDSYNCOPERATION
,
NULL
);
binding
->
clsid
=
CLSID_NULL
;
...
...
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