mshtml: Use DispHTMLDOMImplementation for IDispatchEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c06af48420
commit
e0408dd802
|
@ -95,6 +95,7 @@ typedef struct EventTarget EventTarget;
|
||||||
XDIID(DispHTMLCurrentStyle) \
|
XDIID(DispHTMLCurrentStyle) \
|
||||||
XDIID(DispHTMLDocument) \
|
XDIID(DispHTMLDocument) \
|
||||||
XDIID(DispHTMLDOMAttribute) \
|
XDIID(DispHTMLDOMAttribute) \
|
||||||
|
XDIID(DispHTMLDOMImplementation) \
|
||||||
XDIID(DispHTMLDOMTextNode) \
|
XDIID(DispHTMLDOMTextNode) \
|
||||||
XDIID(DispHTMLElementCollection) \
|
XDIID(DispHTMLElementCollection) \
|
||||||
XDIID(DispHTMLEmbed) \
|
XDIID(DispHTMLEmbed) \
|
||||||
|
@ -171,6 +172,7 @@ typedef struct EventTarget EventTarget;
|
||||||
XIID(IHTMLDOMAttribute2) \
|
XIID(IHTMLDOMAttribute2) \
|
||||||
XIID(IHTMLDOMChildrenCollection) \
|
XIID(IHTMLDOMChildrenCollection) \
|
||||||
XIID(IHTMLDOMImplementation) \
|
XIID(IHTMLDOMImplementation) \
|
||||||
|
XIID(IHTMLDOMImplementation2) \
|
||||||
XIID(IHTMLDOMNode) \
|
XIID(IHTMLDOMNode) \
|
||||||
XIID(IHTMLDOMNode2) \
|
XIID(IHTMLDOMNode2) \
|
||||||
XIID(IHTMLDOMNode3) \
|
XIID(IHTMLDOMNode3) \
|
||||||
|
|
|
@ -306,7 +306,7 @@ static const tid_t HTMLDOMImplementation_iface_tids[] = {
|
||||||
};
|
};
|
||||||
static dispex_static_data_t HTMLDOMImplementation_dispex = {
|
static dispex_static_data_t HTMLDOMImplementation_dispex = {
|
||||||
NULL,
|
NULL,
|
||||||
IHTMLDOMImplementation_tid,
|
DispHTMLDOMImplementation_tid,
|
||||||
HTMLDOMImplementation_iface_tids
|
HTMLDOMImplementation_iface_tids
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7010,6 +7010,8 @@ static void test_dom_implementation(IHTMLDocument2 *doc)
|
||||||
IHTMLWindow2 *window;
|
IHTMLWindow2 *window;
|
||||||
IDispatch *disp;
|
IDispatch *disp;
|
||||||
|
|
||||||
|
test_disp((IUnknown*)dom_implementation, &DIID_DispHTMLDOMImplementation, NULL, "[object]");
|
||||||
|
|
||||||
str = a2bstr("test");
|
str = a2bstr("test");
|
||||||
hres = IHTMLDOMImplementation2_createHTMLDocument(dom_implementation2, str, &new_document);
|
hres = IHTMLDOMImplementation2_createHTMLDocument(dom_implementation2, str, &new_document);
|
||||||
ok(hres == S_OK, "createHTMLDocument failed: %08x\n", hres);
|
ok(hres == S_OK, "createHTMLDocument failed: %08x\n", hres);
|
||||||
|
|
Loading…
Reference in New Issue