table of contents
other versions
- wheezy 1.4.1-4
VarBstrFromBool(3w) | Wine API | 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¶
Declared in "oleauto.h". Implemented in "dlls/oleaut32/vartype.c". Debug channel "variant".Oct 2012 | Wine API |