scripting:api:data-type:bstr

BSTR

String data type used in COM communications (e.g. scripting).

Actual data type corresponding to BSTR depends on language in which you consume API:

Language Data Type
C++ BSTR → WCHAR*
JavaScript String
VisualBasic Script String