Rechercher une page de manuel
VarBstrFromBool.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
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 "dlls/oleaut32/vartype.c".
Debug channel "variant".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre