[6/5] GetWindowLongPtr: Wininet

Robert Shearman rob at codeweavers.com
Thu Sep 23 07:42:23 CDT 2004


Oops. Missed one yesterday.

Rob

Changelog:
GetWindowLong -> GetWindowLongPtr.
-------------- next part --------------
Index: wine/dlls/wininet/dialogs.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/dialogs.c,v
retrieving revision 1.8
diff -u -p -r1.8 dialogs.c
--- wine/dlls/wininet/dialogs.c	3 Sep 2004 18:30:28 -0000	1.8
+++ wine/dlls/wininet/dialogs.c	23 Sep 2004 12:34:30 -0000
@@ -248,7 +248,7 @@ static INT_PTR WINAPI WININET_ProxyPassw
 
         /* save the parameter list */
         params = (struct WININET_ErrorDlgParams*) lParam;
-        SetWindowLongW( hdlg, GWL_USERDATA, lParam );
+        SetWindowLongPtrW( hdlg, GWLP_USERDATA, lParam );
 
         /* extract the Realm from the proxy response and show it */
         if( WININET_GetAuthRealm( params->hRequest,
@@ -272,7 +272,7 @@ static INT_PTR WINAPI WININET_ProxyPassw
     }
 
     params = (struct WININET_ErrorDlgParams*)
-                 GetWindowLongW( hdlg, GWL_USERDATA );
+                 GetWindowLongPtrW( hdlg, GWLP_USERDATA );
 
     switch( uMsg )
     {


More information about the wine-patches mailing list