WindowsGetStringRawBuffer function Null safety winrt

Pointer<Utf16> WindowsGetStringRawBuffer(
  1. int string,
  2. Pointer<Uint32> length
)

Retrieves the backing buffer for the specified string.

PCWSTR WindowsGetStringRawBuffer(
  HSTRING string,
  UINT32  *length
);

Implementation

Pointer<Utf16> WindowsGetStringRawBuffer(int string, Pointer<Uint32> length) =>
    _WindowsGetStringRawBuffer(string, length);