SysAllocStringLen function oleaut32

Pointer<Utf16> SysAllocStringLen(
  1. Pointer<Utf16> strIn,
  2. int ui
)

Allocates a new string, copies the specified number of characters from the passed string, and appends a null-terminating character.

BSTR SysAllocStringLen(
  const OLECHAR *strIn,
  UINT          ui
);

Implementation

Pointer<Utf16> SysAllocStringLen(Pointer<Utf16> strIn, int ui) =>
    _SysAllocStringLen(strIn, ui);