in reply to define type or struct for BSTR data type
If my assumption is correct, then decode your from UCS2 after a call to your function.