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

# VarEqv(3w)

## NAME

**VarEqv** (OLEAUT32.172)

## SYNOPSIS

HRESULT VarEqv\
  (\
   LPVARIANT *pVarLeft*,\
   LPVARIANT *pVarRight*,\
   LPVARIANT *pVarOut*\
  )

## DESCRIPTION

Determine if two variants contain the same value.

## PARAMS

*pVarLeft* **\[In\]**  First variant to compare.

*pVarRight* **\[In\]**  Variant to compare to *pVarLeft*.

*pVarOut* **\[Out\]**  Destination for comparison result.

## RETURNS

**Success:** **S\_OK**. *pVarOut* contains the result of the comparison (**VARIANT\_TRUE** if equivalent or non-zero otherwise.

**Failure:** An **HRESULT** error code indicating the error.

## NOTES

**-** This function simply calls **[VarXor(3w)](/VarXor/3w.md)** on *pVarLeft* and *pVarRight* and inverts the result.

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
