In C++, use connection points to trap all XMLDOMDocument
events. The DISPID of the connection point container is DIID_XMLDOMDocumentEvents
. The DISPID for the connection point to trap the readystatechange
event is DISPID_XMLDOMEVENT_ONREADYSTATECHANGE
.
For a C/C++ example, see onreadystatechange Event.