SysReAllocStringLen function Null safety oleaut32

int SysReAllocStringLen(
  1. Pointer<Pointer<Utf16>> pbstr,
  2. Pointer<Utf16> psz,
  3. int len
)

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<Utf16>> pbstr, Pointer<Utf16> psz, int len) =>
    _SysReAllocStringLen(pbstr, psz, len);