Support VT_BYREF|VT_I4 in _copy_arg.

This commit is contained in:
Robert Shearman 2005-07-19 19:13:45 +00:00 committed by Alexandre Julliard
parent d2e2e851da
commit 500c41b75e
1 changed files with 4 additions and 0 deletions

View File

@ -4597,6 +4597,10 @@ _copy_arg( ITypeInfo2 *tinfo, TYPEDESC *tdesc,
memcpy(argpos, &V_I4(arg), 4);
hres = S_OK;
break;
case VT_BYREF|VT_I4:
memcpy(argpos, V_I4REF(arg), 4);
hres = S_OK;
break;
default:
FIXME("vt 0x%x -> TKIND_ENUM unhandled.\n",V_VT(arg));
hres = E_FAIL;