mshtml: Added semi-stub IHTMLElement2::onreadystatechange implmementation.
This commit is contained in:
parent
3130898e39
commit
ee5d678450
|
@ -628,15 +628,19 @@ static HRESULT WINAPI HTMLElement2_get_readyState(IHTMLElement2 *iface, VARIANT
|
|||
static HRESULT WINAPI HTMLElement2_put_onreadystatechange(IHTMLElement2 *iface, VARIANT v)
|
||||
{
|
||||
HTMLElement *This = HTMLELEM2_THIS(iface);
|
||||
FIXME("(%p)->()\n", This);
|
||||
return E_NOTIMPL;
|
||||
|
||||
FIXME("(%p)->(%s): semi-stub\n", This, debugstr_variant(&v));
|
||||
|
||||
return set_node_event(&This->node, EVENTID_READYSTATECHANGE, &v);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLElement2_get_onreadystatechange(IHTMLElement2 *iface, VARIANT *p)
|
||||
{
|
||||
HTMLElement *This = HTMLELEM2_THIS(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
return get_node_event(&This->node, EVENTID_READYSTATECHANGE, p);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLElement2_put_onrowsdelete(IHTMLElement2 *iface, VARIANT v)
|
||||
|
|
|
@ -90,6 +90,9 @@ static const WCHAR onmouseupW[] = {'o','n','m','o','u','s','e','u','p',0};
|
|||
static const WCHAR pasteW[] = {'p','a','s','t','e',0};
|
||||
static const WCHAR onpasteW[] = {'o','n','p','a','s','t','e',0};
|
||||
|
||||
static const WCHAR readystatechangeW[] = {'r','e','a','d','y','s','t','a','t','e','c','h','a','n','g','e',0};
|
||||
static const WCHAR onreadystatechangeW[] = {'o','n','r','e','a','d','y','s','t','a','t','e','c','h','a','n','g','e',0};
|
||||
|
||||
static const WCHAR selectstartW[] = {'s','e','l','e','c','t','s','t','a','r','t',0};
|
||||
static const WCHAR onselectstartW[] = {'o','n','s','e','l','e','c','t','s','t','a','r','t',0};
|
||||
|
||||
|
@ -120,6 +123,7 @@ static const event_info_t event_info[] = {
|
|||
{mouseoverW, onmouseoverW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
||||
{mouseupW, onmouseupW, EVENT_DEFAULTLISTENER|EVENT_BUBBLE},
|
||||
{pasteW, onpasteW, 0},
|
||||
{readystatechangeW, onreadystatechangeW, 0},
|
||||
{selectstartW, onselectstartW, 0}
|
||||
};
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ typedef enum {
|
|||
EVENTID_MOUSEOVER,
|
||||
EVENTID_MOUSEUP,
|
||||
EVENTID_PASTE,
|
||||
EVENTID_READYSTATECHANGE,
|
||||
EVENTID_SELECTSTART,
|
||||
EVENTID_LAST
|
||||
} eventid_t;
|
||||
|
|
Loading…
Reference in New Issue