NAME
VarI8FromCy (OLEAUT32.337)
SYNOPSIS
HRESULT VarI8FromCy
(
CY cyIn,
LONG64* pi64Out
)
DESCRIPTION
Convert a VT_CY to a VT_I8.
PARAMS
cyIn [In] Source.
pi64Out [Out] Destination.
RETURNS
S_OK.
NOTES
All negative numbers are rounded down by 1, including those that are evenly divisible by 10000 (this is a Win32 bug that Wine mimics). Positive numbers are rounded using Dutch rounding: See VarI8FromR8(3w) for details.
IMPLEMENTATION
Declared in "oleauto.h".
Implemented in "dlls/oleaut32/vartype.c".
Debug channel "variant".