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
dlls/mshtml
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue