mshtml: Added IDispatch ConnectionPoint.
This commit is contained in:
parent
be2a86cbd5
commit
d383e84e21
|
@ -1795,6 +1795,7 @@ static void init_doc(HTMLDocument *doc, IUnknown *unk_impl, IDispatchEx *dispex)
|
||||||
HTMLDocument_Hlink_Init(doc);
|
HTMLDocument_Hlink_Init(doc);
|
||||||
|
|
||||||
ConnectionPointContainer_Init(&doc->cp_container, (IUnknown*)HTMLDOC(doc));
|
ConnectionPointContainer_Init(&doc->cp_container, (IUnknown*)HTMLDOC(doc));
|
||||||
|
ConnectionPoint_Init(&doc->cp_dispatch, &doc->cp_container, &IID_IDispatch, NULL);
|
||||||
ConnectionPoint_Init(&doc->cp_propnotif, &doc->cp_container, &IID_IPropertyNotifySink, NULL);
|
ConnectionPoint_Init(&doc->cp_propnotif, &doc->cp_container, &IID_IPropertyNotifySink, NULL);
|
||||||
ConnectionPoint_Init(&doc->cp_htmldocevents, &doc->cp_container, &DIID_HTMLDocumentEvents, &HTMLDocumentEvents_data);
|
ConnectionPoint_Init(&doc->cp_htmldocevents, &doc->cp_container, &DIID_HTMLDocumentEvents, &HTMLDocumentEvents_data);
|
||||||
ConnectionPoint_Init(&doc->cp_htmldocevents2, &doc->cp_container, &DIID_HTMLDocumentEvents2, NULL);
|
ConnectionPoint_Init(&doc->cp_htmldocevents2, &doc->cp_container, &DIID_HTMLDocumentEvents2, NULL);
|
||||||
|
|
|
@ -340,6 +340,7 @@ struct HTMLDocument {
|
||||||
ConnectionPoint cp_htmldocevents;
|
ConnectionPoint cp_htmldocevents;
|
||||||
ConnectionPoint cp_htmldocevents2;
|
ConnectionPoint cp_htmldocevents2;
|
||||||
ConnectionPoint cp_propnotif;
|
ConnectionPoint cp_propnotif;
|
||||||
|
ConnectionPoint cp_dispatch;
|
||||||
|
|
||||||
IOleAdviseHolder *advise_holder;
|
IOleAdviseHolder *advise_holder;
|
||||||
};
|
};
|
||||||
|
|
|
@ -2953,6 +2953,7 @@ static void test_ConnectionPointContainer(IUnknown *unk)
|
||||||
if(FAILED(hres))
|
if(FAILED(hres))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
test_ConnectionPoint(container, &IID_IDispatch);
|
||||||
test_ConnectionPoint(container, &IID_IPropertyNotifySink);
|
test_ConnectionPoint(container, &IID_IPropertyNotifySink);
|
||||||
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents);
|
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents);
|
||||||
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents2);
|
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents2);
|
||||||
|
|
Loading…
Reference in New Issue