SysStringLen3w
Usage
UINT SysStringLen
(
BSTR str
)
Overview
Get the allocated length of a BSTR in wide characters.
Params
str [In] BSTR to find the length of.
Returns
The allocated length of str, or 0 if str is NULL.
Notes
See BSTR(3w). The returned length may be different from the length of the string as calculated by lstrlenW(3w), since it returns the length that was used to allocate the string by SysAllocStringLen(3w).
Implementation
Declared in "oleauto.h".
Implemented in "dlls/oleaut32/oleaut.c".
Debug channel "ole".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.