SysReAllocStringLen function Null safety oleaut32
Creates a new BSTR containing a specified number of characters from an old BSTR, and frees the old BSTR.
INT SysReAllocStringLen(
BSTR *pbstr,
const OLECHAR *psz,
UINT len
);
Implementation
int SysReAllocStringLen(Pointer<Pointer> pbstr, Pointer<Utf16> psz, int len) {
final _SysReAllocStringLen = _oleaut32.lookupFunction<
Int32 Function(Pointer<Pointer> pbstr, Pointer<Utf16> psz, Uint32 len),
int Function(Pointer<Pointer> pbstr, Pointer<Utf16> psz,
int len)>('SysReAllocStringLen');
return _SysReAllocStringLen(pbstr, psz, len);
}