Reference

VarI8FromDec(3w)

NAME

VarI8FromDec (OLEAUT32.345)

SYNOPSIS

HRESULT VarI8FromDec
(
DECIMAL* pdecIn,
LONG64* pi64Out
)

DESCRIPTION

Convert a VT_DECIMAL to a VT_I8.

PARAMS

pDecIn [In] Source.

pi64Out [Out] Destination.

RETURNS

Success: S_OK.

Failure: E_INVALIDARG, if the source value is invalid 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