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 "tchar.h". https://source.winehq.org/source/include/tchar.h

Implemented in "dlls/ntdll/wcstring.c". https://source.winehq.org/source/dlls/ntdll/wcstring.c


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