HStringReference::CopyTo Method
Copies the current HStringReference object to an HSTRING object.
HRESULT CopyTo(
_Out_ HSTRING *str
) const throw();
Parameters
- str
The HSTRING that receives the copy.
Remarks
This method calls the WindowsDuplicateString function.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers