mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 09:43:39 +00:00
wininet: Remove the occasional parameter name in the prototypes.
This commit is contained in:
parent
b6835f4c87
commit
ca31d8ad1c
|
@ -342,8 +342,8 @@ BOOLAPI InternetCombineUrlW(LPCWSTR ,LPCWSTR ,LPWSTR ,LPDWORD ,DWORD);
|
|||
#define ICU_ENCODE_SPACES_ONLY 0x04000000
|
||||
#define ICU_BROWSER_MODE 0x02000000
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenA(LPCSTR ,DWORD ,LPCSTR lpszProxy ,LPCSTR lpszProxyBypass ,DWORD);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenW(LPCWSTR ,DWORD ,LPCWSTR lpszProxy ,LPCWSTR lpszProxyBypass ,DWORD);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenA(LPCSTR ,DWORD ,LPCSTR ,LPCSTR ,DWORD);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenW(LPCWSTR ,DWORD ,LPCWSTR ,LPCWSTR ,DWORD);
|
||||
#define InternetOpen WINELIB_NAME_AW(InternetOpen)
|
||||
|
||||
#define INTERNET_OPEN_TYPE_PRECONFIG 0
|
||||
|
@ -357,9 +357,9 @@ INTERNETAPI HINTERNET WINAPI InternetOpenW(LPCWSTR ,DWORD ,LPCWSTR lpszProxy ,LP
|
|||
BOOLAPI InternetCloseHandle(HINTERNET);
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI InternetConnectA(HINTERNET ,LPCSTR ,INTERNET_PORT ,
|
||||
LPCSTR lpszUserName ,LPCSTR lpszPassword ,DWORD ,DWORD ,DWORD_PTR );
|
||||
LPCSTR ,LPCSTR ,DWORD ,DWORD ,DWORD_PTR );
|
||||
INTERNETAPI HINTERNET WINAPI InternetConnectW(HINTERNET ,LPCWSTR ,INTERNET_PORT ,
|
||||
LPCWSTR lpszUserName ,LPCWSTR lpszPassword ,DWORD ,DWORD ,DWORD_PTR );
|
||||
LPCWSTR ,LPCWSTR ,DWORD ,DWORD ,DWORD_PTR );
|
||||
#define InternetConnect WINELIB_NAME_AW(InternetConnect)
|
||||
|
||||
#define INTERNET_SERVICE_URL 0
|
||||
|
@ -378,8 +378,8 @@ INTERNETAPI HINTERNET WINAPI InternetConnectW(HINTERNET ,LPCWSTR ,INTERNET_PORT
|
|||
dwContext \
|
||||
)
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenUrlA(HINTERNET ,LPCSTR ,LPCSTR lpszHeaders ,DWORD ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenUrlW(HINTERNET ,LPCWSTR ,LPCWSTR lpszHeaders ,DWORD ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenUrlA(HINTERNET ,LPCSTR ,LPCSTR ,DWORD ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI InternetOpenUrlW(HINTERNET ,LPCWSTR ,LPCWSTR ,DWORD ,DWORD ,DWORD_PTR);
|
||||
#define InternetOpenUrl WINELIB_NAME_AW(InternetOpenUrl)
|
||||
|
||||
BOOLAPI InternetReadFile( HINTERNET ,LPVOID ,DWORD ,LPDWORD );
|
||||
|
@ -394,21 +394,21 @@ INTERNETAPI BOOL WINAPI InternetReadFileExW( HINTERNET ,LPINTERNET_BUFFERSW ,DWO
|
|||
|
||||
INTERNETAPI DWORD WINAPI InternetSetFilePointer(HINTERNET ,LONG ,PVOID ,DWORD ,DWORD_PTR);
|
||||
BOOLAPI InternetWriteFile(HINTERNET ,LPCVOID ,DWORD ,LPDWORD);
|
||||
BOOLAPI InternetQueryDataAvailable(HINTERNET ,LPDWORD lpdwNumberOfBytesAvailable ,DWORD ,DWORD_PTR);
|
||||
BOOLAPI InternetQueryDataAvailable(HINTERNET ,LPDWORD ,DWORD ,DWORD_PTR);
|
||||
BOOLAPI InternetFindNextFileA(HINTERNET ,LPVOID);
|
||||
BOOLAPI InternetFindNextFileW(HINTERNET ,LPVOID);
|
||||
#define InternetFindNextFile WINELIB_NAME_AW(InternetFindNextFile)
|
||||
|
||||
BOOLAPI InternetQueryOptionA(HINTERNET hInternet ,DWORD ,LPVOID lpBuffer ,LPDWORD);
|
||||
BOOLAPI InternetQueryOptionW(HINTERNET hInternet ,DWORD ,LPVOID lpBuffer ,LPDWORD);
|
||||
BOOLAPI InternetQueryOptionA(HINTERNET ,DWORD ,LPVOID ,LPDWORD);
|
||||
BOOLAPI InternetQueryOptionW(HINTERNET ,DWORD ,LPVOID ,LPDWORD);
|
||||
#define InternetQueryOption WINELIB_NAME_AW(InternetQueryOption)
|
||||
|
||||
BOOLAPI InternetSetOptionA(HINTERNET hInternet ,DWORD ,LPVOID ,DWORD);
|
||||
BOOLAPI InternetSetOptionW(HINTERNET hInternet ,DWORD ,LPVOID ,DWORD);
|
||||
BOOLAPI InternetSetOptionA(HINTERNET ,DWORD ,LPVOID ,DWORD);
|
||||
BOOLAPI InternetSetOptionW(HINTERNET ,DWORD ,LPVOID ,DWORD);
|
||||
#define InternetSetOption WINELIB_NAME_AW(InternetSetOption)
|
||||
|
||||
BOOLAPI InternetSetOptionExA(HINTERNET hInternet ,DWORD ,LPVOID ,DWORD ,DWORD);
|
||||
BOOLAPI InternetSetOptionExW(HINTERNET hInternet ,DWORD ,LPVOID ,DWORD ,DWORD);
|
||||
BOOLAPI InternetSetOptionExA(HINTERNET ,DWORD ,LPVOID ,DWORD ,DWORD);
|
||||
BOOLAPI InternetSetOptionExW(HINTERNET ,DWORD ,LPVOID ,DWORD ,DWORD);
|
||||
#define InternetSetOptionEx WINELIB_NAME_AW(InternetSetOptionEx)
|
||||
|
||||
BOOLAPI InternetLockRequestFile(HINTERNET ,HANDLE *);
|
||||
|
@ -553,12 +553,12 @@ BOOLAPI InternetUnlockRequestFile(HANDLE);
|
|||
|
||||
|
||||
|
||||
BOOLAPI InternetGetLastResponseInfoA(LPDWORD ,LPSTR lpszBuffer ,LPDWORD);
|
||||
BOOLAPI InternetGetLastResponseInfoW(LPDWORD ,LPWSTR lpszBuffer ,LPDWORD);
|
||||
BOOLAPI InternetGetLastResponseInfoA(LPDWORD ,LPSTR ,LPDWORD);
|
||||
BOOLAPI InternetGetLastResponseInfoW(LPDWORD ,LPWSTR ,LPDWORD);
|
||||
#define InternetGetLastResponseInfo WINELIB_NAME_AW(InternetGetLastResponseInfo)
|
||||
|
||||
typedef VOID (CALLBACK *INTERNET_STATUS_CALLBACK)(HINTERNET ,DWORD_PTR ,DWORD ,
|
||||
LPVOID lpvStatusInformation ,DWORD);
|
||||
LPVOID ,DWORD);
|
||||
|
||||
typedef INTERNET_STATUS_CALLBACK * LPINTERNET_STATUS_CALLBACK;
|
||||
|
||||
|
@ -608,10 +608,10 @@ BOOLAPI FtpCommandA(HINTERNET, BOOL, DWORD, LPCSTR, DWORD_PTR, HINTERNET *);
|
|||
BOOLAPI FtpCommandW(HINTERNET, BOOL, DWORD, LPCWSTR, DWORD_PTR, HINTERNET *);
|
||||
#define FtpCommand WINELIB_NAME_AW(FtpCommand)
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI FtpFindFirstFileA(HINTERNET ,LPCSTR lpszSearchFile ,
|
||||
LPWIN32_FIND_DATAA lpFindFileData ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI FtpFindFirstFileW(HINTERNET ,LPCWSTR lpszSearchFile ,
|
||||
LPWIN32_FIND_DATAW lpFindFileData ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI FtpFindFirstFileA(HINTERNET ,LPCSTR ,
|
||||
LPWIN32_FIND_DATAA ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI FtpFindFirstFileW(HINTERNET ,LPCWSTR ,
|
||||
LPWIN32_FIND_DATAW ,DWORD ,DWORD_PTR);
|
||||
#define FtpFindFirstFile WINELIB_NAME_AW(FtpFindFirstFile)
|
||||
|
||||
BOOLAPI FtpGetFileA(HINTERNET ,LPCSTR ,LPCSTR ,BOOL ,DWORD ,DWORD ,DWORD_PTR);
|
||||
|
@ -1002,24 +1002,24 @@ DECL_WINELIB_TYPE_AW(LPGOPHER_ATTRIBUTE_TYPE)
|
|||
#define GOPHER_ATTRIBUTE_ID_TREEWALK (GOPHER_ATTRIBUTE_ID_BASE + 24)
|
||||
#define GOPHER_ATTRIBUTE_ID_UNKNOWN (GOPHER_ATTRIBUTE_ID_BASE + 25)
|
||||
|
||||
BOOLAPI GopherCreateLocatorA(LPCSTR ,INTERNET_PORT ,LPCSTR lpszDisplayString ,
|
||||
LPCSTR lpszSelectorString ,DWORD ,LPSTR lpszLocator ,LPDWORD);
|
||||
BOOLAPI GopherCreateLocatorW(LPCWSTR ,INTERNET_PORT ,LPCWSTR lpszDisplayString ,
|
||||
LPCWSTR lpszSelectorString ,DWORD ,LPWSTR lpszLocator ,LPDWORD);
|
||||
BOOLAPI GopherCreateLocatorA(LPCSTR ,INTERNET_PORT ,LPCSTR ,
|
||||
LPCSTR ,DWORD ,LPSTR ,LPDWORD);
|
||||
BOOLAPI GopherCreateLocatorW(LPCWSTR ,INTERNET_PORT ,LPCWSTR ,
|
||||
LPCWSTR ,DWORD ,LPWSTR ,LPDWORD);
|
||||
#define GopherCreateLocator WINELIB_NAME_AW(GopherCreateLocator)
|
||||
|
||||
BOOLAPI GopherGetLocatorTypeA(LPCSTR ,LPDWORD);
|
||||
BOOLAPI GopherGetLocatorTypeW(LPCWSTR ,LPDWORD);
|
||||
#define GopherGetLocatorType WINELIB_NAME_AW(GopherGetLocatorType)
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI GopherFindFirstFileA(HINTERNET ,LPCSTR lpszLocator ,
|
||||
LPCSTR lpszSearchString ,LPGOPHER_FIND_DATAA lpFindData ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherFindFirstFileW(HINTERNET ,LPCWSTR lpszLocator ,
|
||||
LPCWSTR lpszSearchString ,LPGOPHER_FIND_DATAW lpFindData ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherFindFirstFileA(HINTERNET ,LPCSTR ,
|
||||
LPCSTR ,LPGOPHER_FIND_DATAA ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherFindFirstFileW(HINTERNET ,LPCWSTR ,
|
||||
LPCWSTR ,LPGOPHER_FIND_DATAW ,DWORD ,DWORD_PTR);
|
||||
#define GopherFindFirstFile WINELIB_NAME_AW(GopherFindFirstFile)
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI GopherOpenFileA(HINTERNET ,LPCSTR ,LPCSTR lpszView ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherOpenFileW(HINTERNET ,LPCWSTR ,LPCWSTR lpszView ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherOpenFileA(HINTERNET ,LPCSTR ,LPCSTR ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI GopherOpenFileW(HINTERNET ,LPCWSTR ,LPCWSTR ,DWORD ,DWORD_PTR);
|
||||
#define GopherOpenFile WINELIB_NAME_AW(GopherOpenFile)
|
||||
|
||||
typedef BOOL (CALLBACK *GOPHER_ATTRIBUTE_ENUMERATORA)(LPGOPHER_ATTRIBUTE_TYPEA ,DWORD);
|
||||
|
@ -1027,10 +1027,10 @@ typedef BOOL (CALLBACK *GOPHER_ATTRIBUTE_ENUMERATORW)(LPGOPHER_ATTRIBUTE_TYPEW ,
|
|||
|
||||
DECL_WINELIB_TYPE_AW(GOPHER_ATTRIBUTE_ENUMERATOR)
|
||||
|
||||
BOOLAPI GopherGetAttributeA(HINTERNET ,LPCSTR ,LPCSTR lpszAttributeName ,LPBYTE ,
|
||||
DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORA lpfnEnumerator ,DWORD_PTR);
|
||||
BOOLAPI GopherGetAttributeW(HINTERNET ,LPCWSTR ,LPCWSTR lpszAttributeName ,LPBYTE ,
|
||||
DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORW lpfnEnumerator ,DWORD_PTR);
|
||||
BOOLAPI GopherGetAttributeA(HINTERNET ,LPCSTR ,LPCSTR ,LPBYTE ,
|
||||
DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORA ,DWORD_PTR);
|
||||
BOOLAPI GopherGetAttributeW(HINTERNET ,LPCWSTR ,LPCWSTR ,LPBYTE ,
|
||||
DWORD ,LPDWORD ,GOPHER_ATTRIBUTE_ENUMERATORW ,DWORD_PTR);
|
||||
#define GopherGetAttribute WINELIB_NAME_AW(GopherGetAttribute)
|
||||
|
||||
#define HTTP_MAJOR_VERSION 1
|
||||
|
@ -1171,9 +1171,9 @@ BOOLAPI GopherGetAttributeW(HINTERNET ,LPCWSTR ,LPCWSTR lpszAttributeName ,LPBYT
|
|||
|
||||
|
||||
INTERNETAPI HINTERNET WINAPI HttpOpenRequestA(HINTERNET ,LPCSTR ,LPCSTR ,LPCSTR ,
|
||||
LPCSTR lpszReferrer ,LPCSTR * ,DWORD ,DWORD_PTR);
|
||||
LPCSTR ,LPCSTR * ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI HINTERNET WINAPI HttpOpenRequestW(HINTERNET ,LPCWSTR ,LPCWSTR ,LPCWSTR ,
|
||||
LPCWSTR lpszReferrer ,LPCWSTR * ,DWORD ,DWORD_PTR);
|
||||
LPCWSTR ,LPCWSTR * ,DWORD ,DWORD_PTR);
|
||||
#define HttpOpenRequest WINELIB_NAME_AW(HttpOpenRequest)
|
||||
|
||||
BOOLAPI HttpAddRequestHeadersA(HINTERNET ,LPCSTR ,DWORD ,DWORD);
|
||||
|
@ -1189,14 +1189,14 @@ BOOLAPI HttpAddRequestHeadersW(HINTERNET ,LPCWSTR ,DWORD ,DWORD);
|
|||
#define HTTP_ADDREQ_FLAG_COALESCE HTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA
|
||||
#define HTTP_ADDREQ_FLAG_REPLACE 0x80000000
|
||||
|
||||
BOOLAPI HttpSendRequestA(HINTERNET ,LPCSTR lpszHeaders ,DWORD ,LPVOID lpOptional ,DWORD);
|
||||
BOOLAPI HttpSendRequestW(HINTERNET ,LPCWSTR lpszHeaders ,DWORD ,LPVOID lpOptional ,DWORD);
|
||||
BOOLAPI HttpSendRequestA(HINTERNET ,LPCSTR ,DWORD ,LPVOID ,DWORD);
|
||||
BOOLAPI HttpSendRequestW(HINTERNET ,LPCWSTR ,DWORD ,LPVOID ,DWORD);
|
||||
#define HttpSendRequest WINELIB_NAME_AW(HttpSendRequest)
|
||||
|
||||
INTERNETAPI BOOL WINAPI HttpSendRequestExA(HINTERNET ,LPINTERNET_BUFFERSA lpBuffersIn ,
|
||||
LPINTERNET_BUFFERSA lpBuffersOut ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpSendRequestExW(HINTERNET ,LPINTERNET_BUFFERSW lpBuffersIn ,
|
||||
LPINTERNET_BUFFERSW lpBuffersOut ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpSendRequestExA(HINTERNET ,LPINTERNET_BUFFERSA ,
|
||||
LPINTERNET_BUFFERSA ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpSendRequestExW(HINTERNET ,LPINTERNET_BUFFERSW ,
|
||||
LPINTERNET_BUFFERSW ,DWORD ,DWORD_PTR);
|
||||
#define HttpSendRequestEx WINELIB_NAME_AW(HttpSendRequestEx)
|
||||
|
||||
#define HSR_ASYNC WININET_API_FLAG_ASYNC
|
||||
|
@ -1206,12 +1206,12 @@ INTERNETAPI BOOL WINAPI HttpSendRequestExW(HINTERNET ,LPINTERNET_BUFFERSW lpBuff
|
|||
#define HSR_DOWNLOAD 0x00000010
|
||||
#define HSR_CHUNKED 0x00000020
|
||||
|
||||
INTERNETAPI BOOL WINAPI HttpEndRequestA(HINTERNET ,LPINTERNET_BUFFERSA lpBuffersOut ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpEndRequestW(HINTERNET ,LPINTERNET_BUFFERSW lpBuffersOut ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpEndRequestA(HINTERNET ,LPINTERNET_BUFFERSA ,DWORD ,DWORD_PTR);
|
||||
INTERNETAPI BOOL WINAPI HttpEndRequestW(HINTERNET ,LPINTERNET_BUFFERSW ,DWORD ,DWORD_PTR);
|
||||
#define HttpEndRequest WINELIB_NAME_AW(HttpEndRequest)
|
||||
|
||||
BOOLAPI HttpQueryInfoA(HINTERNET ,DWORD ,LPVOID lpBuffer ,LPDWORD ,LPDWORD lpdwIndex);
|
||||
BOOLAPI HttpQueryInfoW(HINTERNET ,DWORD ,LPVOID lpBuffer ,LPDWORD ,LPDWORD lpdwIndex);
|
||||
BOOLAPI HttpQueryInfoA(HINTERNET ,DWORD ,LPVOID ,LPDWORD ,LPDWORD);
|
||||
BOOLAPI HttpQueryInfoW(HINTERNET ,DWORD ,LPVOID ,LPDWORD ,LPDWORD);
|
||||
#define HttpQueryInfo WINELIB_NAME_AW(HttpQueryInfo)
|
||||
|
||||
BOOLAPI InternetClearAllPerSiteCookieDecisions(VOID);
|
||||
|
|
Loading…
Reference in a new issue