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

# VarCySub(3w)

## NAME

**VarCySub** (OLEAUT32.305)

## SYNOPSIS

HRESULT VarCySub\
  (\
   const CY *cyLeft*,\
   const CY *cyRight*,\
   CY\*      *pCyOut*\
  )

## DESCRIPTION

Subtract one **CY** from another.

## PARAMS

*cyLeft* **\[In\]**  Source.

*cyRight* **\[In\]**  Value to subtract.

*pCyOut* **\[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"**.
