Qian Hong : mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 13 11:18:10 CDT 2014
Module: wine
Branch: master
Commit: ef63bacf2d1deadd95127aec993defbebd7499eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef63bacf2d1deadd95127aec993defbebd7499eb
Author: Qian Hong <qhong at codeweavers.com>
Date: Sat Oct 11 09:18:36 2014 +0800
mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI.
---
dlls/mshtml/htmlform.c | 3 +++
dlls/mshtml/tests/dom.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/dlls/mshtml/htmlform.c b/dlls/mshtml/htmlform.c
index b85cf4d..e901dbe 100644
--- a/dlls/mshtml/htmlform.c
+++ b/dlls/mshtml/htmlform.c
@@ -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) {
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 304a575..e1e18dc 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -381,6 +381,7 @@ static const IID * const form_iids[] = {
ELEM_IFACES,
&IID_IHTMLFormElement,
&IID_IConnectionPointContainer,
+ &DIID_DispHTMLFormElement,
NULL
};
More information about the wine-cvs
mailing list