Commit e0408dd8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use DispHTMLDOMImplementation for IDispatchEx implementation.

parent c06af484
......@@ -95,6 +95,7 @@ typedef struct EventTarget EventTarget;
XDIID(DispHTMLCurrentStyle) \
XDIID(DispHTMLDocument) \
XDIID(DispHTMLDOMAttribute) \
XDIID(DispHTMLDOMImplementation) \
XDIID(DispHTMLDOMTextNode) \
XDIID(DispHTMLElementCollection) \
XDIID(DispHTMLEmbed) \
......@@ -171,6 +172,7 @@ typedef struct EventTarget EventTarget;
XIID(IHTMLDOMAttribute2) \
XIID(IHTMLDOMChildrenCollection) \
XIID(IHTMLDOMImplementation) \
XIID(IHTMLDOMImplementation2) \
XIID(IHTMLDOMNode) \
XIID(IHTMLDOMNode2) \
XIID(IHTMLDOMNode3) \
......
......@@ -306,7 +306,7 @@ static const tid_t HTMLDOMImplementation_iface_tids[] = {
};
static dispex_static_data_t HTMLDOMImplementation_dispex = {
NULL,
IHTMLDOMImplementation_tid,
DispHTMLDOMImplementation_tid,
HTMLDOMImplementation_iface_tids
};
......
......@@ -7010,6 +7010,8 @@ static void test_dom_implementation(IHTMLDocument2 *doc)
IHTMLWindow2 *window;
IDispatch *disp;
test_disp((IUnknown*)dom_implementation, &DIID_DispHTMLDOMImplementation, NULL, "[object]");
str = a2bstr("test");
hres = IHTMLDOMImplementation2_createHTMLDocument(dom_implementation2, str, &new_document);
ok(hres == S_OK, "createHTMLDocument failed: %08x\n", hres);
......
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