mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI.

This commit is contained in:
Qian Hong 2014-10-11 09:18:36 +08:00 committed by Alexandre Julliard
parent 9006dcb059
commit ef63bacf2d
2 changed files with 4 additions and 0 deletions

View File

@ -582,6 +582,9 @@ static HRESULT HTMLFormElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
}else if(IsEqualGUID(&IID_IHTMLFormElement, riid)) {
TRACE("(%p)->(IID_IHTMLFormElement %p)\n", This, ppv);
*ppv = &This->IHTMLFormElement_iface;
}else if(IsEqualGUID(&DIID_DispHTMLFormElement, riid)) {
TRACE("(%p)->(DIID_DispHTMLFormElement %p)\n", This, ppv);
*ppv = &This->IHTMLFormElement_iface;
}
if(*ppv) {

View File

@ -381,6 +381,7 @@ static const IID * const form_iids[] = {
ELEM_IFACES,
&IID_IHTMLFormElement,
&IID_IConnectionPointContainer,
&DIID_DispHTMLFormElement,
NULL
};