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
7d0de941
Commit
7d0de941
authored
Aug 03, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added IOleCommandTarget::Exec implementation.
parent
49b7fdcf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
oleobj.c
dlls/mshtml/oleobj.c
+0
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+17
-1
No files found.
dlls/mshtml/oleobj.c
View file @
7d0de941
This diff is collapsed.
Click to expand it.
dlls/mshtml/tests/htmldoc.c
View file @
7d0de941
...
@@ -823,7 +823,7 @@ static const OLECMDF expect_cmds[OLECMDID_GETPRINTTEMPLATE+1] = {
...
@@ -823,7 +823,7 @@ static const OLECMDF expect_cmds[OLECMDID_GETPRINTTEMPLATE+1] = {
OLECMDF_SUPPORTED
,
/* OLECMDID_PASTE */
OLECMDF_SUPPORTED
,
/* OLECMDID_PASTE */
OLECMDF_SUPPORTED
,
/* OLECMDID_PASTESPECIAL */
OLECMDF_SUPPORTED
,
/* OLECMDID_PASTESPECIAL */
OLECMDF_SUPPORTED
,
/* OLECMDID_UNDO */
OLECMDF_SUPPORTED
,
/* OLECMDID_UNDO */
OLECMDF_SUPPORTED
,
/* OLECMDID_RE
N
DO */
OLECMDF_SUPPORTED
,
/* OLECMDID_REDO */
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
,
/* OLECMDID_SELECTALL */
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
,
/* OLECMDID_SELECTALL */
OLECMDF_SUPPORTED
,
/* OLECMDID_CLEARSELECTION */
OLECMDF_SUPPORTED
,
/* OLECMDID_CLEARSELECTION */
OLECMDF_SUPPORTED
,
/* OLECMDID_ZOOM */
OLECMDF_SUPPORTED
,
/* OLECMDID_ZOOM */
...
@@ -958,6 +958,8 @@ static void test_HTMLDocument(void)
...
@@ -958,6 +958,8 @@ static void test_HTMLDocument(void)
}
}
if
(
cmdtrg
)
{
if
(
cmdtrg
)
{
int
i
;
OLECMD
cmd
[
2
]
=
{
OLECMD
cmd
[
2
]
=
{
{
OLECMDID_OPEN
,
0xf0f0
},
{
OLECMDID_OPEN
,
0xf0f0
},
{
OLECMDID_GETPRINTTEMPLATE
+
1
,
0xf0f0
}
{
OLECMDID_GETPRINTTEMPLATE
+
1
,
0xf0f0
}
...
@@ -979,6 +981,20 @@ static void test_HTMLDocument(void)
...
@@ -979,6 +981,20 @@ static void test_HTMLDocument(void)
ok
(
hres
==
OLECMDERR_E_UNKNOWNGROUP
,
ok
(
hres
==
OLECMDERR_E_UNKNOWNGROUP
,
"QueryStatus failed: %08lx, expected OLECMDERR_E_UNKNOWNGROUP
\n
"
,
hres
);
"QueryStatus failed: %08lx, expected OLECMDERR_E_UNKNOWNGROUP
\n
"
,
hres
);
for
(
i
=
0
;
i
<
OLECMDID_GETPRINTTEMPLATE
;
i
++
)
{
if
(
!
expect_cmds
[
i
])
{
hres
=
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_UPDATECOMMANDS
,
OLECMDEXECOPT_DODEFAULT
,
NULL
,
NULL
);
ok
(
hres
==
OLECMDERR_E_NOTSUPPORTED
,
"Exec failed: %08lx, expected OLECMDERR_E_NOTSUPPORTED
\n
"
,
hres
);
}
}
hres
=
IOleCommandTarget_Exec
(
cmdtrg
,
NULL
,
OLECMDID_GETPRINTTEMPLATE
+
1
,
OLECMDEXECOPT_DODEFAULT
,
NULL
,
NULL
);
ok
(
hres
==
OLECMDERR_E_NOTSUPPORTED
,
"Exec failed: %08lx, expected OLECMDERR_E_NOTSUPPORTED
\n
"
,
hres
);
test_OleCommandTarget
(
cmdtrg
);
test_OleCommandTarget
(
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