Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.

This commit is contained in:
Chris Morgan 2001-04-30 18:16:28 +00:00 committed by Alexandre Julliard
parent ada7383852
commit 87e4dbfda8
2 changed files with 12 additions and 1 deletions

View File

@ -169,7 +169,7 @@ debug_channels (animate comboex commctrl datetime header hotkey imagelist ipaddr
362 stdcall StrStrW(wstr wstr) COMCTL32_StrStrW
363 stub StrStrIW
364 stdcall StrSpnW(wstr wstr) COMCTL32_StrSpnW
365 stub StrToIntW
365 stdcall StrToIntW(wstr) COMCTL32_StrToIntW
366 stub StrChrIA
367 stub StrChrIW
368 stub StrRChrIA

View File

@ -48,6 +48,7 @@ typedef struct _LOADDATA
typedef HRESULT CALLBACK (*DPALOADPROC)(LPLOADDATA,IStream*,LPARAM);
INT __cdecl _wtoi(LPWSTR string);
/**************************************************************************
* DPA_LoadStream [COMCTL32.9]
@ -2080,6 +2081,16 @@ COMCTL32_StrToIntA (LPSTR lpString)
return atoi(lpString);
}
/**************************************************************************
* StrToIntW [COMCTL32.365] Converts a wide char string to a signed integer.
*/
INT WINAPI
COMCTL32_StrToIntW (LPWSTR lpString)
{
return _wtoi(lpString);
}
/**************************************************************************
* DPA_EnumCallback [COMCTL32.385]