WindowsPreallocateStringBuffer function winrt
Allocates a mutable character buffer for use in HSTRING creation.
HRESULT WindowsPreallocateStringBuffer(
UINT32 length,
WCHAR **charBuffer,
HSTRING_BUFFER *bufferHandle
);
Implementation
int WindowsPreallocateStringBuffer(int length,
Pointer<Pointer<Uint16>> charBuffer, Pointer<IntPtr> bufferHandle) =>
_WindowsPreallocateStringBuffer(length, charBuffer, bufferHandle);