Scroll to navigation

VarDecFromStr(3w) Wine API VarDecFromStr(3w)

NAME

VarDecFromStr (OLEAUT32.197)

SYNOPSIS

HRESULT VarDecFromStr
(
OLECHAR* strIn,
LCID lcid,
ULONG dwFlags,
DECIMAL* pDecOut
)
 

DESCRIPTION

Convert a VT_BSTR to a DECIMAL.
 

PARAMS

strIn [In] Source.
lcid [In] LCID for the conversion.
dwFlags [In] Flags controlling the conversion (VAR_ flags from "oleauto.h").
pDecOut [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".
Oct 2012 Wine API