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

Declared in "include/oleauto.h". gitlab.winehq.org/wine/wine/blob/master/include/oleauto.h

Implemented in "dlls/oleaut32/vartype.c". gitlab.winehq.org/wine/wine/blob/master/dlls/oleaut32/vartype.c

Debug channel "variant".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.