Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The mapping from the memory representation of a BSTR to the wire representation MUST be performed by setting the fields of FLAGGED_WORD_BLOB referred by the transmitted BSTR as specified below:
cBytes: MUST be set to the value of the presented BSTR's length prefix, or 0xFFFFFFFF for a NULL presented BSTR.
clSize: MUST be half the value of cBytes rounded up, or 0 for a NULL presented BSTR.
asData: MUST contain exactly clSize elements, and MUST be filled from the contents of the data pointed to by the presented BSTR.
The mapping from the transmitted BSTR to the presented BSTR MUST be performed as follows:
The length prefix MUST be set to the value of the cBytes field of the transmitted BSTR's FLAGGED_WORD_BLOB.
The data pointed to by the presented BSTR MUST be set to the contents of the asData field of the transmitted BSTR's FLAGGED_WORD_BLOB.