Jacek Caban (@jacek) commented about dlls/mshtml/mshtml_private.h:
IDocumentRange IDocumentRange_iface; IUnknown *outer_unk;
- IDispatchEx *dispex;
- DispatchEx *dispex;
I don't know why you need this, but general plan is to get rid of HTMLDocument struct and have HTMLDocumentNode and HTMLDocumentObj entirely separated. I did some work on this in the past, but I never had time to finish it. It's probably better to change whatever code needs this change to not use that pointer at all.