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
4d5cf7e6
Commit
4d5cf7e6
authored
Apr 19, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added InternetExplorer::Navigate2 implementation.
parent
7b09cca9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
2 deletions
+42
-2
ie.c
dlls/shdocvw/ie.c
+42
-2
No files found.
dlls/shdocvw/ie.c
View file @
4d5cf7e6
...
...
@@ -439,8 +439,48 @@ static HRESULT WINAPI InternetExplorer_Navigate2(IWebBrowser2 *iface, VARIANT *U
VARIANT
*
TargetFrameName
,
VARIANT
*
PostData
,
VARIANT
*
Headers
)
{
InternetExplorer
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%p %p %p %p %p)
\n
"
,
This
,
URL
,
Flags
,
TargetFrameName
,
PostData
,
Headers
);
return
E_NOTIMPL
;
PBYTE
post_data
=
NULL
;
ULONG
post_data_len
=
0
;
LPWSTR
headers
=
NULL
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p %p %p %p %p)
\n
"
,
This
,
URL
,
Flags
,
TargetFrameName
,
PostData
,
Headers
);
if
((
Flags
&&
V_VT
(
Flags
)
!=
VT_EMPTY
)
||
(
TargetFrameName
&&
V_VT
(
TargetFrameName
)
!=
VT_EMPTY
))
FIXME
(
"Unsupported arguments
\n
"
);
if
(
!
URL
)
return
S_OK
;
if
(
V_VT
(
URL
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
if
(
PostData
&&
V_VT
(
PostData
)
!=
VT_EMPTY
)
{
if
(
V_VT
(
PostData
)
!=
(
VT_ARRAY
|
VT_UI1
)
||
V_ARRAY
(
PostData
)
->
cDims
!=
1
)
{
WARN
(
"Invalid PostData
\n
"
);
return
E_INVALIDARG
;
}
SafeArrayAccessData
(
V_ARRAY
(
PostData
),
(
void
**
)
&
post_data
);
post_data_len
=
V_ARRAY
(
PostData
)
->
rgsabound
[
0
].
cElements
;
}
if
(
Headers
&&
V_VT
(
Headers
)
!=
VT_EMPTY
)
{
if
(
V_VT
(
Headers
)
!=
VT_BSTR
)
return
E_INVALIDARG
;
headers
=
V_BSTR
(
Headers
);
TRACE
(
"Headers: %s
\n
"
,
debugstr_w
(
headers
));
}
hres
=
navigate_url
(
&
This
->
doc_host
,
V_BSTR
(
URL
),
post_data
,
post_data_len
,
headers
);
if
(
post_data
)
SafeArrayUnaccessData
(
V_ARRAY
(
PostData
));
return
hres
;
}
static
HRESULT
WINAPI
InternetExplorer_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