Oh, I see what you mean. You want to hardcode on jscript the fact that mshtml does not make use of it for DISPID_VALUE? I didn't check this, but it seems plausible and what you meant, right?
Yes, kind of, but I wouldn't call it 'hardcoding'. MSHTML may have properties with `DISPID_VALUE`, but they should have no reason to deal with 'this' argument; it's meaningful only for functions and having functions implemented in jscript is a design decision.
I was just trying to forward everything _as if_ InvokeEx was called directly on the mshtml object itself (like in pre IE8 modes), i.e. making it "generic".
Do you intend to use this interface on pre IE8 as well?