NAME

_itow  (NTDLL.@)

SYNOPSIS

 LPWSTR _itow
 (
  int    value,
  LPWSTR str,
  INT    radix
 )

PARAMS

value [In] Value to be converted.
str [Out] Destination for the converted value.
radix [In] Number base for conversion.

DESCRIPTION

Converts an integer to a unicode string.

RETURNS

Always returns str.

NOTES

Converts value to a '\0' terminated wstring which is copied to str. The maximum length of the copied str is 33 bytes. If radix is 10 and value is negative, the value is converted with sign. Does not check if radix is in the range of 2 to 36. If str is NULL it just returns NULL.

DIFFERENCES

- The native function crashes when the string is longer than 19 chars. This function does not have this bug.

IMPLEMENTATION

Declared in "include/msvcrt/corecrt_wstdlib.h". gitlab.winehq.org/wine/wine/blob/master/include/msvcrt/corecrt_wstdlib.h

Implemented in "dlls/ntdll/wcstring.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ntdll/wcstring.c


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.