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
57b876dd
Commit
57b876dd
authored
Nov 02, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Call Exec(CGID_ShellDocView, 84) in start_binding.
parent
918b00f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
navigate.c
dlls/mshtml/navigate.c
+22
-0
No files found.
dlls/mshtml/navigate.c
View file @
57b876dd
...
...
@@ -689,6 +689,27 @@ BSCallback *create_bscallback(IMoniker *mon)
return
ret
;
}
/* Calls undocumented 84 cmd of CGID_ShellDocView */
static
void
call_docview_84
(
HTMLDocument
*
doc
)
{
IOleCommandTarget
*
olecmd
;
VARIANT
var
;
HRESULT
hres
;
if
(
!
doc
->
client
)
return
;
hres
=
IOleClientSite_QueryInterface
(
doc
->
client
,
&
IID_IOleCommandTarget
,
(
void
**
)
&
olecmd
);
if
(
FAILED
(
hres
))
return
;
VariantInit
(
&
var
);
hres
=
IOleCommandTarget_Exec
(
olecmd
,
&
CGID_ShellDocView
,
84
,
0
,
NULL
,
&
var
);
IOleCommandTarget_Release
(
olecmd
);
if
(
SUCCEEDED
(
hres
)
&&
V_VT
(
&
var
)
!=
VT_NULL
)
FIXME
(
"handle result
\n
"
);
}
static
void
parse_post_data
(
nsIInputStream
*
post_data_stream
,
LPWSTR
*
headers_ret
,
HGLOBAL
*
post_data_ret
,
ULONG
*
post_data_len_ret
)
{
...
...
@@ -815,6 +836,7 @@ HRESULT start_binding(HTMLDocument *doc, BSCallback *bscallback)
HRESULT
hres
;
bscallback
->
doc
=
doc
;
call_docview_84
(
bscallback
->
doc
);
hres
=
CreateAsyncBindCtx
(
0
,
STATUSCLB
(
bscallback
),
NULL
,
&
bctx
);
if
(
FAILED
(
hres
))
{
...
...
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