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
72c3d16d
Commit
72c3d16d
authored
Aug 29, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Constify some variables.
parent
6efe40b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
navigate.c
dlls/shdocvw/navigate.c
+4
-4
shdocvw.h
dlls/shdocvw/shdocvw.h
+1
-1
No files found.
dlls/shdocvw/navigate.c
View file @
72c3d16d
...
...
@@ -317,8 +317,8 @@ static IBindStatusCallback *create_callback(DocHost *This, PBYTE post_data,
return
BINDSC
(
ret
);
}
static
void
on_before_navigate2
(
DocHost
*
This
,
LP
WSTR
url
,
PBYTE
post_data
,
ULONG
post_data_len
,
LPWSTR
headers
,
VARIANT_BOOL
*
cancel
)
static
void
on_before_navigate2
(
DocHost
*
This
,
LP
CWSTR
url
,
const
BYTE
*
post_data
,
ULONG
post_data_len
,
LPWSTR
headers
,
VARIANT_BOOL
*
cancel
)
{
VARIANT
var_url
,
var_flags
,
var_frame_name
,
var_post_data
,
var_post_data2
,
var_headers
;
DISPPARAMS
dispparams
;
...
...
@@ -514,8 +514,8 @@ static HRESULT bind_url_to_object(DocHost *This, LPCWSTR url, PBYTE post_data, U
return
hres
;
}
HRESULT
navigate_url
(
DocHost
*
This
,
BSTR
url
,
VARIANT
*
Flags
,
VARIANT
*
TargetFrameName
,
VARIANT
*
PostData
,
VARIANT
*
Headers
)
HRESULT
navigate_url
(
DocHost
*
This
,
BSTR
url
,
const
VARIANT
*
Flags
,
const
VARIANT
*
TargetFrameName
,
VARIANT
*
PostData
,
VARIANT
*
Headers
)
{
PBYTE
post_data
=
NULL
;
ULONG
post_data_len
=
0
;
...
...
dlls/shdocvw/shdocvw.h
View file @
72c3d16d
...
...
@@ -194,7 +194,7 @@ HRESULT WebBrowserV2_Create(IUnknown*,REFIID,void**);
void
create_doc_view_hwnd
(
DocHost
*
);
void
deactivate_document
(
DocHost
*
);
void
call_sink
(
ConnectionPoint
*
,
DISPID
,
DISPPARAMS
*
);
HRESULT
navigate_url
(
DocHost
*
,
BSTR
,
VARIANT
*
,
VARIANT
*
,
VARIANT
*
,
VARIANT
*
);
HRESULT
navigate_url
(
DocHost
*
,
BSTR
,
const
VARIANT
*
,
const
VARIANT
*
,
VARIANT
*
,
VARIANT
*
);
HRESULT
InternetExplorer_Create
(
IUnknown
*
,
REFIID
,
void
**
);
void
InternetExplorer_WebBrowser_Init
(
InternetExplorer
*
);
...
...
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