WindowsDuplicateString function winrt
Creates a copy of the specified string.
HRESULT WindowsDuplicateString(
HSTRING string,
HSTRING *newString
);
Implementation
int WindowsDuplicateString(int string, Pointer<IntPtr> newString) =>
_WindowsDuplicateString(string, newString);