mirror of
https://github.com/reactos/wine.git
synced 2025-02-04 02:56:31 +00:00
mshtml: Added IDispatchEx support to HTMLInputElement.
This commit is contained in:
parent
1597967417
commit
7582518e18
@ -54,6 +54,7 @@ static REFIID tid_ids[] = {
|
||||
&DIID_DispHTMLDocument,
|
||||
&DIID_DispHTMLDOMTextNode,
|
||||
&DIID_DispHTMLElementCollection,
|
||||
&DIID_DispHTMLInputElement,
|
||||
&DIID_DispHTMLUnknownElement,
|
||||
&DIID_DispHTMLWindow2,
|
||||
&IID_IHTMLDocument2,
|
||||
@ -66,6 +67,7 @@ static REFIID tid_ids[] = {
|
||||
&IID_IHTMLElement,
|
||||
&IID_IHTMLElement2,
|
||||
&IID_IHTMLElementCollection,
|
||||
&IID_IHTMLInputElement,
|
||||
&IID_IHTMLWindow2,
|
||||
&IID_IHTMLWindow3,
|
||||
&IID_IOmNavigator
|
||||
|
@ -1059,6 +1059,20 @@ static const NodeImplVtbl HTMLInputElementImplVtbl = {
|
||||
HTMLInputElement_destructor
|
||||
};
|
||||
|
||||
static dispex_static_data_t HTMLInputElement_dispex = {
|
||||
NULL,
|
||||
DispHTMLInputElement_tid,
|
||||
NULL,
|
||||
{
|
||||
IHTMLDOMNode_tid,
|
||||
IHTMLDOMNode2_tid,
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
IHTMLInputElement_tid,
|
||||
0
|
||||
}
|
||||
};
|
||||
|
||||
HTMLElement *HTMLInputElement_Create(nsIDOMHTMLElement *nselem)
|
||||
{
|
||||
HTMLInputElement *ret = heap_alloc_zero(sizeof(HTMLInputElement));
|
||||
@ -1069,6 +1083,8 @@ HTMLElement *HTMLInputElement_Create(nsIDOMHTMLElement *nselem)
|
||||
ret->lpHTMLInputElementVtbl = &HTMLInputElementVtbl;
|
||||
ret->element.node.vtbl = &HTMLInputElementImplVtbl;
|
||||
|
||||
init_dispex(&ret->element.node.dispex, (IUnknown*)HTMLINPUT(ret), &HTMLInputElement_dispex);
|
||||
|
||||
nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLInputElement,
|
||||
(void**)&ret->nsinput);
|
||||
if(NS_FAILED(nsres))
|
||||
|
@ -64,6 +64,7 @@ typedef enum {
|
||||
DispHTMLDocument_tid,
|
||||
DispHTMLDOMTextNode_tid,
|
||||
DispHTMLElementCollection_tid,
|
||||
DispHTMLInputElement_tid,
|
||||
DispHTMLUnknownElement_tid,
|
||||
DispHTMLWindow2_tid,
|
||||
IHTMLDocument2_tid,
|
||||
@ -76,6 +77,7 @@ typedef enum {
|
||||
IHTMLElement_tid,
|
||||
IHTMLElement2_tid,
|
||||
IHTMLElementCollection_tid,
|
||||
IHTMLInputElement_tid,
|
||||
IHTMLWindow2_tid,
|
||||
IHTMLWindow3_tid,
|
||||
IOmNavigator_tid,
|
||||
|
Loading…
x
Reference in New Issue
Block a user