From 5dd5536a9aafab7c02fa957fa29b95066b4f2299 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 25 Dec 2006 21:33:43 +0100 Subject: [PATCH] wininet: Remove not used HTTPOPENREQUESTW request. --- dlls/wininet/internet.c | 18 ------------------ dlls/wininet/internet.h | 13 ------------- 2 files changed, 31 deletions(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index ab5c955d6c1..7a3d178f19f 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -3363,24 +3363,6 @@ static VOID INTERNET_ExecuteWork(void) } break; - case HTTPOPENREQUESTW: - { - struct WORKREQ_HTTPOPENREQUESTW *req = &workRequest.u.HttpOpenRequestW; - LPWININETHTTPSESSIONW lpwhs = (LPWININETHTTPSESSIONW) workRequest.hdr; - - TRACE("HTTPOPENREQUESTW %p\n", lpwhs); - - HTTP_HttpOpenRequestW(lpwhs, req->lpszVerb, - req->lpszObjectName, req->lpszVersion, req->lpszReferrer, - req->lpszAcceptTypes, req->dwFlags, req->dwContext); - - HeapFree(GetProcessHeap(), 0, req->lpszVerb); - HeapFree(GetProcessHeap(), 0, req->lpszObjectName); - HeapFree(GetProcessHeap(), 0, req->lpszVersion); - HeapFree(GetProcessHeap(), 0, req->lpszReferrer); - } - break; - case INTERNETOPENURLW: { struct WORKREQ_INTERNETOPENURLW *req = &workRequest.u.InternetOpenUrlW; diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h index 9935aa6e431..7a86e4f378a 100644 --- a/dlls/wininet/internet.h +++ b/dlls/wininet/internet.h @@ -261,7 +261,6 @@ typedef enum FTPREMOVEDIRECTORYW, FTPRENAMEFILEW, FTPFINDNEXTW, - HTTPOPENREQUESTW, INTERNETOPENURLW, INTERNETREADFILEEXA, } ASYNC_FUNC; @@ -337,17 +336,6 @@ struct WORKREQ_FTPFINDNEXTW LPWIN32_FIND_DATAW lpFindFileData; }; -struct WORKREQ_HTTPOPENREQUESTW -{ - LPWSTR lpszVerb; - LPWSTR lpszObjectName; - LPWSTR lpszVersion; - LPWSTR lpszReferrer; - LPCWSTR *lpszAcceptTypes; - DWORD dwFlags; - DWORD dwContext; -}; - struct WORKREQ_HTTPSENDREQUESTW { LPWSTR lpszHeader; @@ -399,7 +387,6 @@ typedef struct WORKREQ struct WORKREQ_FTPREMOVEDIRECTORYW FtpRemoveDirectoryW; struct WORKREQ_FTPRENAMEFILEW FtpRenameFileW; struct WORKREQ_FTPFINDNEXTW FtpFindNextW; - struct WORKREQ_HTTPOPENREQUESTW HttpOpenRequestW; struct WORKREQ_HTTPSENDREQUESTW HttpSendRequestW; struct WORKREQ_SENDCALLBACK SendCallback; struct WORKREQ_INTERNETOPENURLW InternetOpenUrlW;