mshtml: Supply a default value for get_designMode.

This commit is contained in:
Alistair Leslie-Hughes 2008-10-30 20:46:39 +11:00 committed by Alexandre Julliard
parent 8619ccf251
commit 3a0a3453ff
1 changed files with 9 additions and 2 deletions

View File

@ -440,8 +440,15 @@ static HRESULT WINAPI HTMLDocument_put_designMode(IHTMLDocument2 *iface, BSTR v)
static HRESULT WINAPI HTMLDocument_get_designMode(IHTMLDocument2 *iface, BSTR *p)
{
HTMLDocument *This = HTMLDOC_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
static WCHAR szOff[] = {'O','f','f',0};
FIXME("(%p)->(%p) always returning Off\n", This, p);
if(!p)
return E_INVALIDARG;
*p = SysAllocString(szOff);
return S_OK;
}
static HRESULT WINAPI HTMLDocument_get_selection(IHTMLDocument2 *iface, IHTMLSelectionObject **p)