dispex: Make sure we don't pass a NULL array to IDispatchEx_InvokeEx.
This commit is contained in:
parent
7cd20a413e
commit
a2f987c338
|
@ -47,9 +47,9 @@ HRESULT CALLBACK IDispatchEx_InvokeEx_Proxy(IDispatchEx* This, DISPID id, LCID l
|
|||
HRESULT hr;
|
||||
VARIANT result;
|
||||
EXCEPINFO excep_info;
|
||||
UINT byref_args, arg;
|
||||
UINT byref_args, arg, dummy_idx;
|
||||
VARIANT dummy_arg, *ref_arg = &dummy_arg, *copy_arg, *orig_arg = NULL;
|
||||
UINT *ref_idx = NULL;
|
||||
UINT *ref_idx = &dummy_idx;
|
||||
DWORD dword_flags = wFlags & 0xf;
|
||||
|
||||
TRACE("(%p)->(%08x, %04x, %04x, %p, %p, %p, %p)\n", This, id, lcid, wFlags,
|
||||
|
|
Loading…
Reference in New Issue