Scroll to navigation

SysStringLen(3w) Wine API SysStringLen(3w)

NAME

SysStringLen (OLEAUT32.7)

SYNOPSIS

UINT SysStringLen
(
BSTR str
)
 

DESCRIPTION

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".
Oct 2012 Wine API