lrc_get_bstr_length
| Type Conversion From String |
Returns the length of a BSTR type string.
int lrc_get_bstr_length( BSTR str );
| str | A string of type BSTR. |
lrc_get_bstr_length returns the length of a BSTR type string. BSTR strings may include nulls.
It is used primarily for debugging purposes.
Return Values
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
In the following example the length returned from lrc_get_bstr_length will be 12. This includes the nulls within the string.
BSTR str = lrc_BSTR1("abc\x00def\x00\x00ghi", 12);int len = lrc_get_bstr_length(str);

