VarUI2FromDec3w
Usage
HRESULT VarUI2FromDec
(
DECIMAL* pdecIn,
USHORT* pusOut
)
Overview
Convert a VT_DECIMAL to a VT_UI2.
Params
pDecIn [In] Source.
pusOut [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".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.