Scroll to navigation

_wtoi(3w) Wine API _wtoi(3w)

NAME

_wtoi (NTDLL.@)

SYNOPSIS

int _wtoi
(
LPCWSTR str
)
 

DESCRIPTION

Converts a unicode string to an integer.
 

PARAMS

str [In] Wstring to be converted.
 

RETURNS

On success it returns the integer value otherwise it returns 0.
 

NOTES

Accepts: {whitespace} [+|-] {digits} No check is made for value overflow, only the lower 32 bits are assigned. If str is NULL it crashes, as the native function does.
 

IMPLEMENTATION

Declared in "tchar.h".
Implemented in "dlls/ntdll/wcstring.c".
Oct 2012 Wine API