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
3c71c7cc
Commit
3c71c7cc
authored
Aug 18, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added more Exec tests and fixes.
parent
54f18be4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
oleobj.c
dlls/mshtml/oleobj.c
+4
-2
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+8
-1
view.c
dlls/mshtml/view.c
+4
-2
No files found.
dlls/mshtml/oleobj.c
View file @
3c71c7cc
...
...
@@ -152,8 +152,10 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
V_VT
(
&
var
)
=
VT_I4
;
V_I4
(
&
var
)
=
0
;
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSMAX
,
0
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSPOS
,
0
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSMAX
,
OLECMDEXECOPT_DONTPROMPTUSER
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSPOS
,
OLECMDEXECOPT_DONTPROMPTUSER
,
&
var
,
NULL
);
IOleCommandTarget_Release
(
cmdtrg
);
}
...
...
dlls/mshtml/tests/htmldoc.c
View file @
3c71c7cc
...
...
@@ -977,6 +977,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
DWORD
nCmdID
,
DWORD
nCmdexecopt
,
VARIANT
*
pvaIn
,
VARIANT
*
pvaOut
)
{
if
(
!
pguidCmdGroup
)
{
ok
(
nCmdexecopt
==
OLECMDEXECOPT_DONTPROMPTUSER
,
"nCmdexecopts=%08lx
\n
"
,
nCmdexecopt
);
switch
(
nCmdID
)
{
case
OLECMDID_SETPROGRESSMAX
:
CHECK_EXPECT2
(
Exec_SETPROGRESSMAX
);
...
...
@@ -1008,7 +1010,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
return
S_OK
;
case
OLECMDID_UPDATECOMMANDS
:
CHECK_EXPECT
(
Exec_UPDATECOMMANDS
);
/* TODO */
ok
(
pvaIn
==
NULL
,
"pvaIn=%p
\n
"
,
pvaIn
);
ok
(
pvaOut
==
NULL
,
"pvaOut=%p
\n
"
,
pvaOut
);
return
S_OK
;
case
OLECMDID_SETTITLE
:
CHECK_EXPECT2
(
Exec_SETTITLE
);
...
...
@@ -1025,6 +1028,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
}
if
(
IsEqualGUID
(
&
CGID_ShellDocView
,
pguidCmdGroup
))
{
ok
(
nCmdexecopt
==
0
,
"nCmdexecopts=%08lx
\n
"
,
nCmdexecopt
);
switch
(
nCmdID
)
{
case
37
:
CHECK_EXPECT2
(
Exec_ShellDocView_37
);
...
...
@@ -1042,6 +1047,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
}
if
(
IsEqualGUID
(
&
CGID_MSHTML
,
pguidCmdGroup
))
{
ok
(
nCmdexecopt
==
0
,
"nCmdexecopts=%08lx
\n
"
,
nCmdexecopt
);
switch
(
nCmdID
)
{
case
2315
:
CHECK_EXPECT
(
Exec_MSHTML_2315
);
...
...
dlls/mshtml/view.c
View file @
3c71c7cc
...
...
@@ -245,8 +245,10 @@ static HRESULT activate_window(HTMLDocument *This)
V_VT
(
&
var
)
=
VT_I4
;
V_I4
(
&
var
)
=
0
;
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSMAX
,
0
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSPOS
,
0
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSMAX
,
OLECMDEXECOPT_DONTPROMPTUSER
,
&
var
,
NULL
);
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_SETPROGRESSPOS
,
OLECMDEXECOPT_DONTPROMPTUSER
,
&
var
,
NULL
);
IOleCommandTarget_Release
(
cmdtrg
);
}
...
...
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