Reference

VarI4FromCy(3w)

NAME

VarI4FromCy (OLEAUT32.62)

SYNOPSIS

HRESULT VarI4FromCy
(
CY cyIn,
LONG* piOut
)

DESCRIPTION

Convert a VT_CY to a VT_I4.

PARAMS

cyIn [In] Source.

piOut [Out] Destination.

RETURNS

Success: S_OK.

Failure: DISP_E_OVERFLOW, if the value will not fit in the destination

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/vartype.c".

Debug channel "variant".

History