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
d5866612
Commit
d5866612
authored
Aug 26, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Pass the right IDispatch to NavigateComplete2 and DocumentComplete.
parent
5307a75c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
dochost.c
dlls/shdocvw/dochost.c
+1
-9
No files found.
dlls/shdocvw/dochost.c
View file @
d5866612
...
...
@@ -48,15 +48,9 @@ LRESULT process_dochost_task(DocHost *This, LPARAM lparam)
static
void
navigate_complete
(
DocHost
*
This
)
{
IDispatch
*
disp
=
NULL
;
DISPPARAMS
dispparams
;
VARIANTARG
params
[
2
];
VARIANT
url
;
HRESULT
hres
;
hres
=
IUnknown_QueryInterface
(
This
->
document
,
&
IID_IDispatch
,
(
void
**
)
&
disp
);
if
(
FAILED
(
hres
))
FIXME
(
"Could not get IDispatch interface
\n
"
);
dispparams
.
cArgs
=
2
;
dispparams
.
cNamedArgs
=
0
;
...
...
@@ -67,7 +61,7 @@ static void navigate_complete(DocHost *This)
V_BYREF
(
params
)
=
&
url
;
V_VT
(
params
+
1
)
=
VT_DISPATCH
;
V_DISPATCH
(
params
+
1
)
=
disp
;
V_DISPATCH
(
params
+
1
)
=
This
->
disp
;
V_VT
(
&
url
)
=
VT_BSTR
;
V_BSTR
(
&
url
)
=
SysAllocString
(
This
->
url
);
...
...
@@ -76,8 +70,6 @@ static void navigate_complete(DocHost *This)
call_sink
(
This
->
cps
.
wbe2
,
DISPID_DOCUMENTCOMPLETE
,
&
dispparams
);
SysFreeString
(
V_BSTR
(
&
url
));
if
(
disp
)
IDispatch_Release
(
disp
);
This
->
busy
=
VARIANT_FALSE
;
}
...
...
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