VarDecFromBool.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

VarDecFromBool (OLEAUT32.199)

SYNOPSIS

HRESULT VarDecFromBool
 (
  VARIANT_BOOL bIn,
  DECIMAL*     pDecOut
 )

DESCRIPTION

Convert a VT_BOOL to a DECIMAL.

PARAMS

bIn [In] Source.

pDecOut [Out] Destination.

RETURNS

S_OK.

NOTES

The value is converted to either 0 (if bIn is FALSE) or -1 (TRUE).

IMPLEMENTATION

Defined in "oleauto.h".

Implemented in "dlls/oleaut32/vartype.c".

Debug channel "variant".