Reference

VarR8FromStr(3w)

NAME

VarR8FromStr (OLEAUT32.84)

SYNOPSIS

HRESULT VarR8FromStr
(
OLECHAR* strIn,
LCID lcid,
ULONG dwFlags,
double* pDblOut
)

DESCRIPTION

Convert a VT_BSTR to a VT_R8.

PARAMS

strIn [In] Source.

lcid [In] LCID for the conversion.

dwFlags [In] Flags controlling the conversion (VAR_ flags from "oleauto.h").

pDblOut [Out] Destination.

RETURNS

Success: S_OK.

Failure: E_INVALIDARG, if strIn or pDblOut is invalid. DISP_E_TYPEMISMATCH, if the type cannot be converted

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/vartype.c".

Debug channel "variant".

History