VarDecFromStr.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "oleauto.h".

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

Debug channel "variant".