From af353c03050119167955ea5f57067b5aa421cfa9 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 19 Aug 2004 19:02:17 +0000 Subject: [PATCH] Better TRACE's for some Internet* functions. --- dlls/wininet/internet.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 587f386e29f..ebb37b43bbc 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -1492,7 +1492,7 @@ INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackA( 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 InternetSetStatusCallbackW( 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 hFile, LPVOID lpBuffer, } WININET_Release( lpwh ); + TRACE("-- %s (bytes read: %ld)\n", retval ? "TRUE": "FALSE", dwNumOfBytesRead ? *dwNumOfBytesRead : -1); return retval; }