1 2 3 4 5
| A BSTR is a composite data type that consists of a length prefix, a data string, and a terminator. The following table describes these components.
Item Description
Length prefix A four-byte integer that contains the number of bytes in the following data string. It appears immediately before the first character of the data string. This value does not include the terminating null character.
Data string A string of Unicode characters. May contain multiple embedded null characters.
Terminator Two null characters. |