VarBstrCat function (oleauto.h)
Concatenates two variants of type BSTR and returns the resulting BSTR.
Syntax
HRESULT VarBstrCat(
[in] BSTR bstrLeft,
[in] BSTR bstrRight,
[out] LPBSTR pbstrResult
);
Parameters
[in] bstrLeft
The first variant.
[in] bstrRight
The second variant.
[out] pbstrResult
The result.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |