kernel: Documentation-Update for WideCharToMultiByte
wine.dev at web.de
Mon Jun 5 05:30:58 CDT 2006
MSDN and our Documentation told us, that WC2MB returns on Success:
* If dstlen > 0, the number of characters written to dst.
* ... the count includes the terminating NUL
This is only valid, when the destination buffer is large enough to
receive the Result with the terminating NUL
When the destination buffer is to small, WC2MB returns '0' and
GetLastError() returns ERROR_INSUFFICIENT_BUFFER.
The Testsuite was updated to verify this.
The attached Patch updates the documentation.
- kernel: Documentation-Update for WideCharToMultiByte
By By ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1318 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060605/e381a814/doc_wc2mb.diff
More information about the wine-patches