2.2.23.2 BSTR Type Definition

BSTR Type Definition is an OLE Automation type for transferring length-prefixed data.

This type is declared as follows:

 typedef [unique] FLAGGED_WORD_BLOB* BSTR;

A null transmitted BSTR is a pointer to a FLAGGED_WORD_BLOB whose cBytes field MUST equal 0xFFFFFFFF, clSize field MUST equal 0, and asData MUST NOT contain any elements.An empty transmitted BSTR is a pointer to a FLAGGED_WORD_BLOB whose cBytes and clSize fields MUST both equal 0, and asData MUST NOT contain any elements.