Function Reference
_SysStringLen
Retrieves the length of a BSTR (in characters).
_SysStringLen($pBSTR)
Parameters
$pBSTR
Pointer to the BSTR.
Return Value
Success:
Length of the BSTR (in characters).
Failure:
0, with @error set to:
1 - Invalid BSTR pointer.
2 - DllCall error.
Remarks
Does not include the null terminator.
Related
_SysAllocString
,
_SysReadString
,
_SysFreeString