Scroll to navigation

_itow(3w) Wine API _itow(3w)

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 ' ' 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".
Implemented in "dlls/ntdll/wcstring.c".
Oct 2012 Wine API