VarBstrFromBool(3w)
NAME
VarBstrFromBool (OLEAUT32.116)
SYNOPSIS
HRESULT VarBstrFromBool ( VARIANT_BOOL boolIn, LCID lcid, ULONG dwFlags, BSTR* pbstrOut )
DESCRIPTION
Convert a VT_BOOL to a VT_BSTR.
PARAMS
boolIn [In] Source.
lcid [In] LCID for the conversion.
dwFlags [In] Flags controlling the conversion (VAR_ flags from
"oleauto.h").
pbstrOut [Out] Destination.
RETURNS
Success: S_OK.
Failure: E_INVALIDARG, if pbstrOut is invalid. E_OUTOFMEMORY, if memory
allocation fails.
NOTES
If dwFlags includes VARIANT_LOCALBOOL, this function converts to the localised text of "TRUE" or "FALSE". To convert a boolean into a numeric string of "0" or "-1", use VariantChangeTypeTypeEx(3w).
IMPLEMENTATION
Defined in "oleauto.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/oleaut32/vartype.c".
- Debug channel "variant".