WindowsDuplicateString function winrt

int WindowsDuplicateString(
  1. int string,
  2. Pointer<IntPtr> newString
)

Creates a copy of the specified string.

HRESULT WindowsDuplicateString(
  HSTRING string,
HSTRING *newString
);

Implementation

int WindowsDuplicateString(int string, Pointer<IntPtr> newString) =>
    _WindowsDuplicateString(string, newString);