Commit 8fef006f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Implemented oleaut32.VarBstrCat.

parent e08a1b53
......@@ -317,7 +317,7 @@ debug_channels (ole typelib)
436 stub VarAbs # stdcall (ptr ptr)
437 stub VarAdd # stdcall (ptr ptr ptr)
438 stub VarAnd # stdcall (ptr ptr ptr)
439 stub VarBstrCat # stdcall (ptr ptr ptr)
439 stdcall VarBstrCat(ptr ptr ptr) VarBstrCat
440 stdcall VarBstrCmp(ptr ptr long long) VarBstrCmp
441 stub VarCat # stdcall (ptr ptr ptr)
442 stub VarCmp # stdcall (ptr ptr long long)
......
......@@ -4672,3 +4672,23 @@ HRESULT WINAPI VarBstrCmp(BSTR left, BSTR right, LCID lcid, DWORD flags)
return VARCMP_EQ;
}
/**********************************************************************
* VarBstrCat [OLEAUT32.439]
*/
HRESULT WINAPI VarBstrCat(BSTR left, BSTR right, BSTR *out)
{
BSTR result;
TRACE("( %s %s %p )\n", debugstr_w(left), debugstr_w(right), out);
if( (!left) || (!right) || (!out) )
return 0;
result = SysAllocStringLen(left, lstrlenW(left)+lstrlenW(right));
lstrcatW(result,right);
*out = result;
return 1;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment