HStringReference::CopyTo Method
The latest version of this topic can be found at HStringReference::CopyTo Method.
Copies the current HStringReference object to an HSTRING object.
Syntax
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