Reference

VarUI4FromDec(3w)

NAME

VarUI4FromDec (OLEAUT32.282)

SYNOPSIS

HRESULT VarUI4FromDec
(
DECIMAL* pdecIn,
ULONG* pulOut
)

DESCRIPTION

Convert a VT_DECIMAL to a VT_UI4.

PARAMS

pDecIn [In] Source.

pulOut [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".

History