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

# VarUI4FromI4(3w)

## NAME

**VarUI4FromI4** (OLEAUT32.272)

## SYNOPSIS

HRESULT VarUI4FromI4\
  (\
   LONG   *iIn*,\
   ULONG\* *pulOut*\
  )

## DESCRIPTION

Convert a **VT\_I4** to a **VT\_UI4**.

## PARAMS

*iIn* **\[In\]**  Source.

*pulOut* **\[Out\]**  Destination.

## RETURNS

**Success:** **S\_OK**.

**Failure:** **DISP\_E\_OVERFLOW**, if the value will not fit in the destination

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
