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 "oleauto.h". https://source.winehq.org/source/include/oleauto.h

Implemented in "dlls/oleaut32/vartype.c". https://source.winehq.org/source/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 Apr 2024.