Commit 87e4dbfd authored by Chris Morgan's avatar Chris Morgan Committed by Alexandre Julliard

Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.

parent ada73838
......@@ -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
......
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment