.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH _wtoi 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fB_wtoi\fR (NTDLL.@) .SH SYNOPSIS int _wtoi ( LPCWSTR \fIstr\fR ) .SH DESCRIPTION .PP Converts a unicode string to an integer. .SH PARAMS \fIstr\fR \fB[In]\fR Wstring to be converted. .PP .SH RETURNS .PP On success it returns the integer value otherwise it returns \fB0.\fR .SH NOTES .PP \fBAccepts:\fR {whitespace} [+|-] {digits} No check is made for value overflow, only the lower \fB32\fR bits are assigned. If \fIstr\fR is \fBNULL\fR it crashes, as the native function does. .SH IMPLEMENTATION .PP Declared in \fB"tchar.h"\fR. .PP Implemented in \fB"dlls/ntdll/wcstring.c"\fR.