SysReAllocStringLen function oleaut32
Creates a new BSTR containing a specified number of characters from an old BSTR, and frees the old BSTR.
To learn more, see learn.microsoft.com/windows/win32/api/oleauto/nf-oleauto-sysreallocstringlen.
Implementation
@pragma('vm:prefer-inline')
int SysReAllocStringLen(Pointer<Pointer<Utf16>> pbstr, PCWSTR? psz, int len) =>
_SysReAllocStringLen(pbstr, psz ?? nullptr, len);