Converts a wstring to a string using a buffer provided by the user. To get the buffer requirements call stringSize 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 wstring to a string using a buffer provided by the user. To get the buffer requirements call stringSize on your source buffer.