.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH _wtol 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fB_wtol\fR (NTDLL.@) .SH SYNOPSIS LONG _wtol ( LPCWSTR \fIstr\fR ) .SH DESCRIPTION .PP Converts a unicode string to a long 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.