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
a3575824
Commit
a3575824
authored
Aug 14, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Aug 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Support URLs passed by reference in WebBrowser_Navigate2.
parent
1e23e889
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
webbrowser.c
dlls/shdocvw/webbrowser.c
+11
-2
No files found.
dlls/shdocvw/webbrowser.c
View file @
a3575824
...
...
@@ -724,6 +724,7 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
VARIANT
*
TargetFrameName
,
VARIANT
*
PostData
,
VARIANT
*
Headers
)
{
WebBrowser
*
This
=
WEBBROWSER_THIS
(
iface
);
LPCWSTR
url
;
TRACE
(
"(%p)->(%p %p %p %p %p)
\n
"
,
This
,
URL
,
Flags
,
TargetFrameName
,
PostData
,
Headers
);
...
...
@@ -733,12 +734,20 @@ static HRESULT WINAPI WebBrowser_Navigate2(IWebBrowser2 *iface, VARIANT *URL, VA
if
(
!
URL
)
return
S_OK
;
if
(
V_VT
(
URL
)
!=
VT_BSTR
)
{
switch
(
V_VT
(
URL
))
{
case
VT_BSTR
:
url
=
V_BSTR
(
URL
);
break
;
case
VT_BSTR
|
VT_BYREF
:
url
=
*
V_BSTRREF
(
URL
);
break
;
default:
FIXME
(
"Unsupported V_VT(URL) %d
\n
"
,
V_VT
(
URL
));
return
E_INVALIDARG
;
}
return
navigate_url
(
&
This
->
doc_host
,
V_BSTR
(
URL
)
,
Flags
,
TargetFrameName
,
PostData
,
Headers
);
return
navigate_url
(
&
This
->
doc_host
,
url
,
Flags
,
TargetFrameName
,
PostData
,
Headers
);
}
static
HRESULT
WINAPI
WebBrowser_QueryStatusWB
(
IWebBrowser2
*
iface
,
OLECMDID
cmdID
,
OLECMDF
*
pcmdf
)
...
...
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