mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI.
This commit is contained in:
parent
9006dcb059
commit
ef63bacf2d
|
@ -582,6 +582,9 @@ static HRESULT HTMLFormElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
|
||||||
}else if(IsEqualGUID(&IID_IHTMLFormElement, riid)) {
|
}else if(IsEqualGUID(&IID_IHTMLFormElement, riid)) {
|
||||||
TRACE("(%p)->(IID_IHTMLFormElement %p)\n", This, ppv);
|
TRACE("(%p)->(IID_IHTMLFormElement %p)\n", This, ppv);
|
||||||
*ppv = &This->IHTMLFormElement_iface;
|
*ppv = &This->IHTMLFormElement_iface;
|
||||||
|
}else if(IsEqualGUID(&DIID_DispHTMLFormElement, riid)) {
|
||||||
|
TRACE("(%p)->(DIID_DispHTMLFormElement %p)\n", This, ppv);
|
||||||
|
*ppv = &This->IHTMLFormElement_iface;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(*ppv) {
|
if(*ppv) {
|
||||||
|
|
|
@ -381,6 +381,7 @@ static const IID * const form_iids[] = {
|
||||||
ELEM_IFACES,
|
ELEM_IFACES,
|
||||||
&IID_IHTMLFormElement,
|
&IID_IHTMLFormElement,
|
||||||
&IID_IConnectionPointContainer,
|
&IID_IConnectionPointContainer,
|
||||||
|
&DIID_DispHTMLFormElement,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue