Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
757192eb
Commit
757192eb
authored
May 14, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
May 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Improve some exec command stubs.
parent
34015b93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
4 deletions
+44
-4
olecmd.c
dlls/mshtml/olecmd.c
+44
-4
No files found.
dlls/mshtml/olecmd.c
View file @
757192eb
...
...
@@ -577,6 +577,24 @@ static void set_ns_align(HTMLDocument *This, const char *align_str)
nsICommandParams_Release
(
nsparam
);
}
static
HRESULT
exec_mshtml_copy
(
HTMLDocument
*
This
)
{
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
exec_mshtml_cut
(
HTMLDocument
*
This
)
{
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
exec_mshtml_paste
(
HTMLDocument
*
This
)
{
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
exec_fontname
(
HTMLDocument
*
This
,
VARIANT
*
in
,
VARIANT
*
out
)
{
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
in
,
out
);
...
...
@@ -911,9 +929,9 @@ static HRESULT exec_outdent(HTMLDocument *This)
return
S_OK
;
}
static
HRESULT
exec_htmleditmode
(
HTMLDocument
*
This
)
static
HRESULT
exec_htmleditmode
(
HTMLDocument
*
This
,
VARIANT
*
in
)
{
FIXME
(
"(%p)
\n
"
,
This
);
FIXME
(
"(%p)
->(%p)
\n
"
,
This
,
in
);
return
S_OK
;
}
...
...
@@ -929,6 +947,12 @@ static HRESULT exec_composesettings(HTMLDocument *This, VARIANT *in)
return
S_OK
;
}
static
HRESULT
exec_setdirty
(
HTMLDocument
*
This
,
VARIANT
*
in
)
{
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
in
);
return
E_NOTIMPL
;
}
static
const
struct
{
OLECMDF
cmdf
;
HRESULT
(
*
func
)(
HTMLDocument
*
,
DWORD
,
VARIANT
*
,
VARIANT
*
);
...
...
@@ -1162,10 +1186,22 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
return
OLECMDERR_E_NOTSUPPORTED
;
}
else
if
(
IsEqualGUID
(
&
CGID_MSHTML
,
pguidCmdGroup
))
{
switch
(
nCmdID
)
{
case
IDM_COPY
:
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_mshtml_copy
(
This
);
case
IDM_CUT
:
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_mshtml_cut
(
This
);
case
IDM_FONTNAME
:
return
exec_fontname
(
This
,
pvaIn
,
pvaOut
);
case
IDM_FONTSIZE
:
return
exec_fontsize
(
This
,
pvaIn
,
pvaOut
);
case
IDM_PASTE
:
if
(
pvaIn
||
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_mshtml_paste
(
This
);
case
IDM_PRINT
:
return
exec_print
(
This
,
nCmdexecopt
,
pvaIn
,
pvaOut
);
case
IDM_BOLD
:
...
...
@@ -1225,13 +1261,17 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
FIXME
(
"unsupported arguments
\n
"
);
return
exec_outdent
(
This
);
case
IDM_HTMLEDITMODE
:
if
(
pva
In
||
pva
Out
)
if
(
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_htmleditmode
(
This
);
return
exec_htmleditmode
(
This
,
pvaIn
);
case
IDM_COMPOSESETTINGS
:
if
(
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_composesettings
(
This
,
pvaIn
);
case
IDM_SETDIRTY
:
if
(
pvaOut
)
FIXME
(
"unsupported arguments
\n
"
);
return
exec_setdirty
(
This
,
pvaIn
);
default:
FIXME
(
"unsupported nCmdID %d of CGID_MSHTML group
\n
"
,
nCmdID
);
return
OLECMDERR_E_NOTSUPPORTED
;
...
...
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