WindowsPromoteStringBuffer function Null safety winrt

int WindowsPromoteStringBuffer(
  1. int bufferHandle,
  2. Pointer<IntPtr> string
)

Creates an HSTRING from the specified HSTRING_BUFFER.

HRESULT WindowsPromoteStringBuffer(
  HSTRING_BUFFER bufferHandle,
  HSTRING        *string
);

Implementation

int WindowsPromoteStringBuffer(int bufferHandle, Pointer<IntPtr> string) =>
    _WindowsPromoteStringBuffer(bufferHandle, string);