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
14ad0a1a
Commit
14ad0a1a
authored
May 22, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
May 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Use IOleObject::DoVerb if IHlink interface is not available.
parent
15aa8daf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
dochost.c
dlls/ieframe/dochost.c
+22
-8
No files found.
dlls/ieframe/dochost.c
View file @
14ad0a1a
...
...
@@ -121,15 +121,29 @@ static void object_available(DocHost *This)
}
hres
=
IUnknown_QueryInterface
(
This
->
document
,
&
IID_IHlinkTarget
,
(
void
**
)
&
hlink
);
if
(
FAILED
(
hres
))
{
FIXME
(
"Could not get IHlinkTarget interface
\n
"
);
return
;
}
if
(
SUCCEEDED
(
hres
))
{
hres
=
IHlinkTarget_Navigate
(
hlink
,
0
,
NULL
);
IHlinkTarget_Release
(
hlink
);
if
(
FAILED
(
hres
))
FIXME
(
"Navigate failed
\n
"
);
}
else
{
IOleObject
*
ole_object
;
RECT
rect
;
hres
=
IHlinkTarget_Navigate
(
hlink
,
0
,
NULL
);
IHlinkTarget_Release
(
hlink
);
if
(
FAILED
(
hres
))
FIXME
(
"Navigate failed
\n
"
);
TRACE
(
"No IHlink iface
\n
"
);
hres
=
IUnknown_QueryInterface
(
This
->
document
,
&
IID_IOleObject
,
(
void
**
)
&
ole_object
);
if
(
FAILED
(
hres
))
{
FIXME
(
"Could not get IOleObject iface: %08x
\n
"
,
hres
);
return
;
}
GetClientRect
(
This
->
hwnd
,
&
rect
);
hres
=
IOleObject_DoVerb
(
ole_object
,
OLEIVERB_SHOW
,
NULL
,
&
This
->
IOleClientSite_iface
,
-
1
,
This
->
hwnd
,
&
rect
);
IOleObject_Release
(
ole_object
);
if
(
FAILED
(
hres
))
FIXME
(
"DoVerb failed: %08x
\n
"
,
hres
);
}
}
static
HRESULT
get_doc_ready_state
(
DocHost
*
This
,
READYSTATE
*
ret
)
...
...
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