Scroll to navigation

VarI4FromDec(3w) Wine API VarI4FromDec(3w)

NAME

VarI4FromDec (OLEAUT32.212)

SYNOPSIS

HRESULT VarI4FromDec
(
DECIMAL* pdecIn,
LONG* piOut
)
 

DESCRIPTION

Convert a VT_DECIMAL to a VT_I4.
 

PARAMS

pDecIn [In] Source.
piOut [Out] Destination.
 

RETURNS

Success: S_OK.
Failure: E_INVALIDARG, if pdecIn 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".
Oct 2012 Wine API