mshtml: Added IDM_COMPOSESETTINGS and IDM_HTMLEDITMODE stub implementation.
This commit is contained in:
parent
11fc8ccb6d
commit
fa355572a2
|
@ -911,6 +911,24 @@ static HRESULT exec_outdent(HTMLDocument *This)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static HRESULT exec_htmleditmode(HTMLDocument *This)
|
||||||
|
{
|
||||||
|
FIXME("(%p)\n", This);
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
static HRESULT exec_composesettings(HTMLDocument *This, VARIANT *in)
|
||||||
|
{
|
||||||
|
if(!in || V_VT(in) != VT_BSTR) {
|
||||||
|
WARN("invalid arg\n");
|
||||||
|
return E_INVALIDARG;
|
||||||
|
}
|
||||||
|
|
||||||
|
FIXME("%s\n", debugstr_w(V_BSTR(in)));
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
OLECMDF cmdf;
|
OLECMDF cmdf;
|
||||||
HRESULT (*func)(HTMLDocument*,DWORD,VARIANT*,VARIANT*);
|
HRESULT (*func)(HTMLDocument*,DWORD,VARIANT*,VARIANT*);
|
||||||
|
@ -1206,6 +1224,14 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
|
||||||
if(pvaIn || pvaOut)
|
if(pvaIn || pvaOut)
|
||||||
FIXME("unsupported arguments\n");
|
FIXME("unsupported arguments\n");
|
||||||
return exec_outdent(This);
|
return exec_outdent(This);
|
||||||
|
case IDM_HTMLEDITMODE:
|
||||||
|
if(pvaIn || pvaOut)
|
||||||
|
FIXME("unsupported arguments\n");
|
||||||
|
return exec_htmleditmode(This);
|
||||||
|
case IDM_COMPOSESETTINGS:
|
||||||
|
if(pvaOut)
|
||||||
|
FIXME("unsupported arguments\n");
|
||||||
|
return exec_composesettings(This, pvaIn);
|
||||||
default:
|
default:
|
||||||
FIXME("unsupported nCmdID %d of CGID_MSHTML group\n", nCmdID);
|
FIXME("unsupported nCmdID %d of CGID_MSHTML group\n", nCmdID);
|
||||||
return OLECMDERR_E_NOTSUPPORTED;
|
return OLECMDERR_E_NOTSUPPORTED;
|
||||||
|
|
Loading…
Reference in New Issue