Jacek Caban (@jacek) commented about dlls/mshtml/htmlwindow.c:
return lock_document_mode(This->doc);
}
+static IDispatch *HTMLWindow_get_dispatch_this(DispatchEx *dispex) +{
- HTMLInnerWindow *This = impl_from_DispatchEx(dispex);
- return (IDispatch*)&This->base.outer_window->base.IHTMLWindow2_iface;
I think this needs `AddRef`, we don't own `outer_window` reference here.