mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
mshtml: Added HTMLElement::ondataavailable implementation.
This commit is contained in:
parent
b9fa73a798
commit
74453fb0fd
@ -1358,15 +1358,19 @@ static HRESULT WINAPI HTMLElement_get_ondatasetchanged(IHTMLElement *iface, VARI
|
||||
static HRESULT WINAPI HTMLElement_put_ondataavailable(IHTMLElement *iface, VARIANT v)
|
||||
{
|
||||
HTMLElement *This = impl_from_IHTMLElement(iface);
|
||||
FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
|
||||
return E_NOTIMPL;
|
||||
|
||||
FIXME("(%p)->(%s) semi-stub\n", This, debugstr_variant(&v));
|
||||
|
||||
return set_node_event(&This->node, EVENTID_DATAAVAILABLE, &v);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLElement_get_ondataavailable(IHTMLElement *iface, VARIANT *p)
|
||||
{
|
||||
HTMLElement *This = impl_from_IHTMLElement(iface);
|
||||
FIXME("(%p)->(%p)\n", This, p);
|
||||
return E_NOTIMPL;
|
||||
|
||||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
return get_node_event(&This->node, EVENTID_DATAAVAILABLE, p);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLElement_put_ondatasetcomplete(IHTMLElement *iface, VARIANT v)
|
||||
|
@ -59,6 +59,9 @@ static const WCHAR onclickW[] = {'o','n','c','l','i','c','k',0};
|
||||
static const WCHAR contextmenuW[] = {'c','o','n','t','e','x','t','m','e','n','u',0};
|
||||
static const WCHAR oncontextmenuW[] = {'o','n','c','o','n','t','e','x','t','m','e','n','u',0};
|
||||
|
||||
static const WCHAR dataavailableW[] = {'d','a','t','a','a','v','a','i','l','a','b','l','e',0};
|
||||
static const WCHAR ondataavailableW[] = {'o','n','d','a','t','a','a','v','a','i','l','a','b','l','e',0};
|
||||
|
||||
static const WCHAR dblclickW[] = {'d','b','l','c','l','i','c','k',0};
|
||||
static const WCHAR ondblclickW[] = {'o','n','d','b','l','c','l','i','c','k',0};
|
||||
|
||||
@ -166,6 +169,8 @@ static const event_info_t event_info[] = {
|
||||
EVENT_DEFAULTLISTENER|EVENT_BUBBLE|EVENT_CANCELABLE|EVENT_HASDEFAULTHANDLERS},
|
||||
{contextmenuW, oncontextmenuW, EVENTT_MOUSE, DISPID_EVMETH_ONCONTEXTMENU,
|
||||
EVENT_BUBBLE|EVENT_CANCELABLE},
|
||||
{dataavailableW, ondataavailableW, EVENTT_NONE, DISPID_EVMETH_ONDATAAVAILABLE,
|
||||
EVENT_BUBBLE},
|
||||
{dblclickW, ondblclickW, EVENTT_MOUSE, DISPID_EVMETH_ONDBLCLICK,
|
||||
EVENT_DEFAULTLISTENER|EVENT_BUBBLE|EVENT_CANCELABLE},
|
||||
{dragW, ondragW, EVENTT_MOUSE, DISPID_EVMETH_ONDRAG,
|
||||
|
@ -22,6 +22,7 @@ typedef enum {
|
||||
EVENTID_CHANGE,
|
||||
EVENTID_CLICK,
|
||||
EVENTID_CONTEXTMENU,
|
||||
EVENTID_DATAAVAILABLE,
|
||||
EVENTID_DBLCLICK,
|
||||
EVENTID_DRAG,
|
||||
EVENTID_DRAGSTART,
|
||||
|
Loading…
Reference in New Issue
Block a user