mshtml: Support DispHTMLHeadElement interface.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50492
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 4efad17a9f)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Jacek Caban 2021-03-29 12:05:20 +02:00 committed by Michael Stefaniuc
parent 5d5d7f41f5
commit 158c49ca48
2 changed files with 3 additions and 0 deletions

View File

@ -719,6 +719,8 @@ static HRESULT HTMLHeadElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
if(IsEqualGUID(&IID_IHTMLHeadElement, riid))
*ppv = &This->IHTMLHeadElement_iface;
else if(IsEqualGUID(&DIID_DispHTMLHeadElement, riid))
*ppv = &This->IHTMLHeadElement_iface;
else
return HTMLElement_QI(&This->element.node, riid, ppv);

View File

@ -375,6 +375,7 @@ static const IID * const html_iids[] = {
static const IID * const head_iids[] = {
ELEM_IFACES,
&IID_IHTMLHeadElement,
&DIID_DispHTMLHeadElement,
&IID_IConnectionPointContainer,
NULL
};