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

# VarBstrCat(3w)

## NAME

**VarBstrCat** (OLEAUT32.313)

## SYNOPSIS

HRESULT VarBstrCat\
  (\
   BSTR  *pbstrLeft*,\
   BSTR  *pbstrRight*,\
   BSTR\* *pbstrOut*\
  )

## DESCRIPTION

Concatenate two **BSTR** values.

## PARAMS

*pbstrLeft* **\[In\]**  Source.

*pbstrRight* **\[In\]**  Value to concatenate.

*pbstrOut* **\[Out\]**  Destination.

## RETURNS

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

**Failure:** **E\_INVALIDARG**, if *pbstrOut* is invalid. **E\_OUTOFMEMORY**, if memory allocation fails.

## IMPLEMENTATION

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

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

Debug channel **"variant"**.
