---
name: "VarR4FromBool"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/VarR4FromBool"
---

# VarR4FromBool(3w)

## NAME

**VarR4FromBool** (OLEAUT32.76)

## SYNOPSIS

HRESULT VarR4FromBool\
  (\
   VARIANT\_BOOL *boolIn*,\
   float\*       *pFltOut*\
  )

## DESCRIPTION

Convert a **VT\_BOOL** to a **VT\_R4**.

## PARAMS

*boolIn* **\[In\]**  Source.

*pFltOut* **\[Out\]**  Destination.

## RETURNS

**S\_OK**.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

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

Debug channel **"variant"**.
