comctl32 patch

Chris Morgan cmorgan at CaptainMorgan
Sat Apr 28 19:24:51 CDT 2001


ChangeLog entry:

*dlls/comctl32/comctl32.spec.c, comctl32undoc.c:
Chris Morgan <cmorgan at wpi.edu>
Implement COMCTL32_StrToIntW() using NTDLL's _wtoi.
-------------- next part --------------
Index: dlls/comctl32/comctl32.spec
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/comctl32.spec,v
retrieving revision 1.22
diff -u -r1.22 comctl32.spec
--- dlls/comctl32/comctl32.spec	2000/12/26 01:26:12	1.22
+++ dlls/comctl32/comctl32.spec	2001/04/29 00:19:23
@@ -169,7 +169,7 @@
 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
Index: dlls/comctl32/comctl32undoc.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/comctl32undoc.c,v
retrieving revision 1.45
diff -u -r1.45 comctl32undoc.c
--- dlls/comctl32/comctl32undoc.c	2001/02/14 21:41:35	1.45
+++ dlls/comctl32/comctl32undoc.c	2001/04/29 00:19:27
@@ -48,6 +48,7 @@
 
 typedef HRESULT CALLBACK (*DPALOADPROC)(LPLOADDATA,IStream*,LPARAM);
 
+INT __cdecl _wtoi(LPWSTR string);
 
 /**************************************************************************
  * DPA_LoadStream [COMCTL32.9]
@@ -2078,6 +2079,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);
 }
 
 


More information about the wine-patches mailing list