Converts a string to a wstring using a buffer provided by the user. To get the buffer requirements call wstringSize on your source buffer.
The UTF-8 string to convert.
The destination buffer for the conversion.
The part of the destination buffer used for the conversion as a wchar[]. A terminating zero is appended, so the result.ptr can be passed into Windows APIs.
See Implementation
Converts a string to a wstring using a buffer provided by the user. To get the buffer requirements call wstringSize on your source buffer.