Anatoly Lyutin : kernel32: Add details in description function MultiByteToWideChar and WideCharToMultiByte .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 15 07:43:11 CST 2007


Module: wine
Branch: master
Commit: 11e7b64ec96277faa22232de4db885c7e48f02bc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=11e7b64ec96277faa22232de4db885c7e48f02bc

Author: Anatoly Lyutin <vostok at etersoft.ru>
Date:   Fri Jan 12 17:22:39 2007 +0300

kernel32: Add details in description function MultiByteToWideChar and WideCharToMultiByte.

---

 dlls/kernel32/locale.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 845234d..25196da 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -1745,9 +1745,9 @@ BOOL WINAPI EnumSystemCodePagesW( CODEPA
  *   page   [I] Codepage character set to convert from
  *   flags  [I] Character mapping flags
  *   src    [I] Source string buffer
- *   srclen [I] Length of src, or -1 if src is NUL terminated
+ *   srclen [I] Length of src (in bytes), or -1 if src is NUL terminated
  *   dst    [O] Destination buffer
- *   dstlen [I] Length of dst, or 0 to compute the required length
+ *   dstlen [I] Length of dst (in WCHARs), or 0 to compute the required length
  *
  * RETURNS
  *   Success: If dstlen > 0, the number of characters written to dst.
@@ -1836,9 +1836,9 @@ INT WINAPI MultiByteToWideChar( UINT pag
  *   page    [I] Code page character set to convert to
  *   flags   [I] Mapping Flags (MB_ constants from "winnls.h").
  *   src     [I] Source string buffer
- *   srclen  [I] Length of src, or -1 if src is NUL terminated
+ *   srclen  [I] Length of src (in WCHARs), or -1 if src is NUL terminated
  *   dst     [O] Destination buffer
- *   dstlen  [I] Length of dst, or 0 to compute the required length
+ *   dstlen  [I] Length of dst (in bytes), or 0 to compute the required length
  *   defchar [I] Default character to use for conversion if no exact
  *		    conversion can be made
  *   used    [O] Set if default character was used in the conversion




More information about the wine-cvs mailing list