InternetCloseHandle didn't return TRUE in all appropriate cases.

This commit is contained in:
Andreas Mohr 2000-12-02 20:09:54 +00:00 committed by Alexandre Julliard
parent 08a114799e
commit 3f014882f7
1 changed files with 3 additions and 0 deletions

View File

@ -431,14 +431,17 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
{
case WH_HINIT:
INTERNET_CloseHandle((LPWININETAPPINFOA) lpwh);
retval = TRUE;
break;
case WH_HHTTPSESSION:
HTTP_CloseHTTPSessionHandle((LPWININETHTTPSESSIONA) lpwh);
retval = TRUE;
break;
case WH_HHTTPREQ:
HTTP_CloseHTTPRequestHandle((LPWININETHTTPREQA) lpwh);
retval = TRUE;
break;
case WH_HFTPSESSION: