NAME

_wtol  (NTDLL.@)

SYNOPSIS

 __msvcrt_long _wtol
 (
  LPCWSTR str
 )

DESCRIPTION

Converts a unicode string to a long 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". https://source.winehq.org/source/include/tchar.h

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


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