Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts a double value to a BSTR value.
HRESULT VarBstrFromR8(
[in] DOUBLE dblIn,
[in] LCID lcid,
[in] ULONG dwFlags,
[out] BSTR *pbstrOut
);
[in] dblIn
The value to convert.
[in] lcid
The locale identifier.
[in] dwFlags
One or more of the following flags.
Value | Meaning |
---|---|
|
Uses the system default locale settings, rather than custom locale settings. |
[out] pbstrOut
The resulting value.
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
The input parameter is not a valid type of variant. |
|
The data pointed to by the output parameter does not fit in the destination type. |
|
The argument could not be coerced to the specified type. |
|
One of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |
Please sign in to use this experience.
Sign in