Skip to content

Latest commit

 

History

History
168 lines (141 loc) · 2.73 KB

nf-oleauto-varbstrfromr8.md

File metadata and controls

168 lines (141 loc) · 2.73 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oleauto.VarBstrFromR8
VarBstrFromR8 function (oleauto.h)
Converts a double value to a BSTR value.
LOCALE_NOUSEROVERRIDE
VarBstrFromR8
VarBstrFromR8 function [Automation]
_oa96_VarBstrFromR8
automat.varbstrfromr8
oleauto/VarBstrFromR8
automat\varbstrfromr8.htm
automat
e293c9ae-95bc-4b6e-9074-0277afb6b17c
12/05/2018
LOCALE_NOUSEROVERRIDE, VarBstrFromR8, VarBstrFromR8 function [Automation], _oa96_VarBstrFromR8, automat.varbstrfromr8, oleauto/VarBstrFromR8
oleauto.h
Windows
OleAut32.lib
OleAut32.dll
Windows
19H1
VarBstrFromR8
oleauto/VarBstrFromR8
c++
APIRef
kbSyntax
DllExport
OleAut32.dll
VarBstrFromR8

VarBstrFromR8 function

-description

Converts a double value to a BSTR value.

-parameters

-param dblIn [in]

The value to convert.

-param lcid [in]

The locale identifier.

-param dwFlags [in]

One or more of the following flags.

Value Meaning
LOCALE_NOUSEROVERRIDE
Uses the system default locale settings, rather than custom locale settings.

-param pbstrOut [out]

The resulting value.

-returns

This function can return one of these values.

Return code Description
S_OK
Success.
DISP_E_BADVARTYPE
The input parameter is not a valid type of variant.
DISP_E_OVERFLOW
The data pointed to by the output parameter does not fit in the destination type.
DISP_E_TYPEMISMATCH
The argument could not be coerced to the specified type.
E_INVALIDARG
One of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.