Better TRACE's For Some Internet* Functions

Robert Shearman rob at codeweavers.com
Thu Aug 19 06:40:54 CDT 2004


Changelog:
Better TRACE's for some Internet* functions.

-------------- next part --------------
Index: wine/dlls/wininet/internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.94
diff -u -p -r1.94 internet.c
--- wine/dlls/wininet/internet.c	9 Aug 2004 18:54:23 -0000	1.94
+++ wine/dlls/wininet/internet.c	19 Aug 2004 03:06:11 -0000
@@ -1492,7 +1492,7 @@ INTERNET_STATUS_CALLBACK WINAPI Internet
     INTERNET_STATUS_CALLBACK retVal = INTERNET_INVALID_STATUS_CALLBACK;
     LPWININETAPPINFOW lpwai;
 
-    TRACE("0x%08lx\n", (ULONG)hInternet);
+    TRACE("(%p, %p)\n", hInternet, lpfnIntCB);
     
     lpwai = (LPWININETAPPINFOW)WININET_GetObject(hInternet);
     if (!lpwai)
@@ -1526,7 +1526,7 @@ INTERNET_STATUS_CALLBACK WINAPI Internet
     INTERNET_STATUS_CALLBACK retVal = INTERNET_INVALID_STATUS_CALLBACK;
     LPWININETAPPINFOW lpwai;
 
-    TRACE("0x%08lx\n", (ULONG)hInternet);
+    TRACE("(%p, %p)\n", hInternet, lpfnIntCB);
     
     lpwai = (LPWININETAPPINFOW)WININET_GetObject(hInternet);
     if (!lpwai)
@@ -1657,6 +1657,7 @@ BOOL WINAPI InternetReadFile(HINTERNET h
     }
     WININET_Release( lpwh );
 
+    TRACE("-- %s (bytes read: %ld)\n", retval ? "TRUE": "FALSE", dwNumOfBytesRead ? *dwNumOfBytesRead : -1);
     return retval;
 }
 


More information about the wine-patches mailing list