Commit f54a99d0 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Vitaly Lipatov

wbemprox: Support VT_BYREF in to_longlong

parent 5440fc9e
......@@ -1323,6 +1323,9 @@ HRESULT to_longlong( VARIANT *var, LONGLONG *val, CIMTYPE *type )
*val = 0;
return S_OK;
}
if (V_VT( var ) & VT_BYREF)
var = V_VARIANTREF( var );
if (V_VT( var ) & VT_ARRAY)
{
*val = (INT_PTR)to_array( var, type );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment