mshtml: Handle DISPATCH_CONSTRUCT flag for DispatchEx objects.
This commit is contained in:
parent
5116dca8e1
commit
753aa4ca98
|
@ -804,8 +804,16 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
|
||||||
return This->data->vtbl->invoke(This->outer, id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
|
return This->data->vtbl->invoke(This->outer, id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
|
||||||
|
|
||||||
if(wFlags == DISPATCH_CONSTRUCT) {
|
if(wFlags == DISPATCH_CONSTRUCT) {
|
||||||
FIXME("DISPATCH_CONSTRUCT not implemented\n");
|
if(id == DISPID_VALUE) {
|
||||||
return E_NOTIMPL;
|
if(This->data->vtbl && This->data->vtbl->value) {
|
||||||
|
return This->data->vtbl->value(This->outer, lcid, wFlags, pdp,
|
||||||
|
pvarRes, pei, pspCaller);
|
||||||
|
}
|
||||||
|
FIXME("DISPATCH_CONSTRUCT flag but missing value function\n");
|
||||||
|
return E_FAIL;
|
||||||
|
}
|
||||||
|
FIXME("DISPATCH_CONSTRUCT flag without DISPID_VALUE\n");
|
||||||
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(is_dynamic_dispid(id)) {
|
if(is_dynamic_dispid(id)) {
|
||||||
|
|
Loading…
Reference in New Issue