jscript: Support VT_UI8 in variant_to_jsval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7225e60108
commit
d2213e205b
|
@ -306,6 +306,13 @@ HRESULT variant_to_jsval(VARIANT *var, jsval_t *r)
|
||||||
case VT_UI4:
|
case VT_UI4:
|
||||||
*r = jsval_number(V_UI4(var));
|
*r = jsval_number(V_UI4(var));
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
case VT_UI8:
|
||||||
|
/*
|
||||||
|
* Native doesn't support VT_UI8 here, but it's needed for IE9+ APIs
|
||||||
|
* (native IE9 doesn't use jscript.dll for JavaScript).
|
||||||
|
*/
|
||||||
|
*r = jsval_number(V_UI8(var));
|
||||||
|
return S_OK;
|
||||||
case VT_R4:
|
case VT_R4:
|
||||||
*r = jsval_number(V_R4(var));
|
*r = jsval_number(V_R4(var));
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue