Commit 4efad17a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Support DispHTMLHeadElement interface.

parent 13050fd9
...@@ -719,6 +719,8 @@ static HRESULT HTMLHeadElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv) ...@@ -719,6 +719,8 @@ static HRESULT HTMLHeadElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
if(IsEqualGUID(&IID_IHTMLHeadElement, riid)) if(IsEqualGUID(&IID_IHTMLHeadElement, riid))
*ppv = &This->IHTMLHeadElement_iface; *ppv = &This->IHTMLHeadElement_iface;
else if(IsEqualGUID(&DIID_DispHTMLHeadElement, riid))
*ppv = &This->IHTMLHeadElement_iface;
else else
return HTMLElement_QI(&This->element.node, riid, ppv); return HTMLElement_QI(&This->element.node, riid, ppv);
......
...@@ -375,6 +375,7 @@ static const IID * const html_iids[] = { ...@@ -375,6 +375,7 @@ static const IID * const html_iids[] = {
static const IID * const head_iids[] = { static const IID * const head_iids[] = {
ELEM_IFACES, ELEM_IFACES,
&IID_IHTMLHeadElement, &IID_IHTMLHeadElement,
&DIID_DispHTMLHeadElement,
&IID_IConnectionPointContainer, &IID_IConnectionPointContainer,
NULL NULL
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment