On Fri Apr 12 15:33:36 2024 +0000, Jacek Caban wrote:
And yes, it is also used for calling the DISPID_VALUE (both in
`invoke_prop_func` and `jsdisp_call_value`). `this_obj` useful only for functions, which are implemented in jscript, so they don't go through this interface, right?
Yes the new "proxy functions" on jscript side don't use this interface (and so, neither accessors). But I meant using it on objects' DISPID_VALUE. Simplest example is probably imagine calling InvokeEx on a jscript proxy. It will end up in jsdisp_call_value which needs to forward it to the mshtml object.
Of course, the interface could probably be simplified, but we'll still have to pass the "this" pointer separately.