Expand Minimize

VarBstrCat function

Concatenates two variants of type BSTR and returns the resulting BSTR.

Syntax


HRESULT VarBstrCat(
  _In_   BSTR bstrLeft,
  _In_   BSTR bstrRight,
  _Out_  LPBSTR pbstrResult
);

Parameters

bstrLeft [in]

The first variant.

bstrRight [in]

The second variant.

pbstrResult [out]

The result.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Windows Phone 8.1: This API is supported.

Requirements

Header

OleAuto.h

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft