Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.
This commit is contained in:
parent
ada7383852
commit
87e4dbfda8
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue