Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
19b4814f
Commit
19b4814f
authored
Dec 07, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for winhttp functions.
parent
83a378f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
48 deletions
+54
-48
Makefile.in
dlls/winhttp/Makefile.in
+1
-0
winhttp.h
include/winhttp.h
+53
-48
No files found.
dlls/winhttp/Makefile.in
View file @
19b4814f
EXTRADEFS
=
-D_WINHTTP_INTERNAL_
MODULE
=
winhttp.dll
IMPORTLIB
=
winhttp
IMPORTS
=
uuid jsproxy user32 advapi32 ws2_32
...
...
include/winhttp.h
View file @
19b4814f
...
...
@@ -25,7 +25,12 @@
#include <pshpack4.h>
#endif
#define WINHTTPAPI
#ifdef _WINHTTP_INTERNAL_
# define WINHTTPAPI
#else
# define WINHTTPAPI DECLSPEC_IMPORT
#endif
#define BOOLAPI WINHTTPAPI BOOL WINAPI
...
...
@@ -814,53 +819,53 @@ typedef struct _WINHTTP_WEB_SOCKET_STATUS
extern
"C"
{
#endif
BOOL
WINAPI
WinHttpAddRequestHeaders
(
HINTERNET
,
LPCWSTR
,
DWORD
,
DWORD
);
BOOL
WINAPI
WinHttpDetectAutoProxyConfigUrl
(
DWORD
,
LPWSTR
*
);
BOOL
WINAPI
WinHttpCheckPlatform
(
void
);
BOOL
WINAPI
WinHttpCloseHandle
(
HINTERNET
);
HINTERNET
WINAPI
WinHttpConnect
(
HINTERNET
,
LPCWSTR
,
INTERNET_PORT
,
DWORD
);
BOOL
WINAPI
WinHttpCrackUrl
(
LPCWSTR
,
DWORD
,
DWORD
,
LPURL_COMPONENTS
);
DWORD
WINAPI
WinHttpCreateProxyResolver
(
HINTERNET
,
HINTERNET
*
);
BOOL
WINAPI
WinHttpCreateUrl
(
LPURL_COMPONENTS
,
DWORD
,
LPWSTR
,
LPDWORD
);
VOID
WINAPI
WinHttpFreeProxyResult
(
WINHTTP_PROXY_RESULT
*
);
VOID
WINAPI
WinHttpFreeProxyResultEx
(
WINHTTP_PROXY_RESULT_EX
*
);
VOID
WINAPI
WinHttpFreeProxySettings
(
WINHTTP_PROXY_SETTINGS
*
);
BOOL
WINAPI
WinHttpGetDefaultProxyConfiguration
(
WINHTTP_PROXY_INFO
*
);
BOOL
WINAPI
WinHttpGetIEProxyConfigForCurrentUser
(
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
*
);
BOOL
WINAPI
WinHttpGetProxyForUrl
(
HINTERNET
,
LPCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
WINHTTP_PROXY_INFO
*
);
DWORD
WINAPI
WinHttpGetProxyForUrlEx
(
HINTERNET
,
PCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
DWORD_PTR
);
DWORD
WINAPI
WinHttpGetProxyForUrlEx2
(
HINTERNET
,
PCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
DWORD
,
BYTE
*
,
DWORD_PTR
);
DWORD
WINAPI
WinHttpGetProxyResult
(
HINTERNET
,
WINHTTP_PROXY_RESULT
*
);
DWORD
WINAPI
WinHttpGetProxyResultEx
(
HINTERNET
,
WINHTTP_PROXY_RESULT_EX
*
);
DWORD
WINAPI
WinHttpGetProxySettingsVersion
(
HINTERNET
,
DWORD
*
);
DWORD
WINAPI
WinHttpIsHostInProxyBypassList
(
const
WINHTTP_PROXY_INFO
*
,
PCWSTR
,
INTERNET_SCHEME
,
INTERNET_PORT
,
BOOL
*
);
HINTERNET
WINAPI
WinHttpOpen
(
LPCWSTR
,
DWORD
,
LPCWSTR
,
LPCWSTR
,
DWORD
);
HINTERNET
WINAPI
WinHttpOpenRequest
(
HINTERNET
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
*
,
DWORD
);
BOOL
WINAPI
WinHttpQueryAuthParams
(
HINTERNET
,
DWORD
,
LPVOID
*
);
BOOL
WINAPI
WinHttpQueryAuthSchemes
(
HINTERNET
,
LPDWORD
,
LPDWORD
,
LPDWORD
);
BOOL
WINAPI
WinHttpQueryDataAvailable
(
HINTERNET
,
LPDWORD
);
BOOL
WINAPI
WinHttpQueryHeaders
(
HINTERNET
,
DWORD
,
LPCWSTR
,
LPVOID
,
LPDWORD
,
LPDWORD
);
BOOL
WINAPI
WinHttpQueryOption
(
HINTERNET
,
DWORD
,
LPVOID
,
LPDWORD
);
BOOL
WINAPI
WinHttpReadData
(
HINTERNET
,
LPVOID
,
DWORD
,
LPDWORD
);
DWORD
WINAPI
WinHttpReadProxySettings
(
HINTERNET
,
PCWSTR
,
BOOL
,
BOOL
,
DWORD
*
,
BOOL
*
,
WINHTTP_PROXY_SETTINGS
*
);
BOOL
WINAPI
WinHttpReceiveResponse
(
HINTERNET
,
LPVOID
);
DWORD
WINAPI
WinHttpResetAutoProxy
(
HINTERNET
,
DWORD
);
BOOL
WINAPI
WinHttpSendRequest
(
HINTERNET
,
LPCWSTR
,
DWORD
,
LPVOID
,
DWORD
,
DWORD
,
DWORD_PTR
);
BOOL
WINAPI
WinHttpSetDefaultProxyConfiguration
(
WINHTTP_PROXY_INFO
*
);
BOOL
WINAPI
WinHttpSetCredentials
(
HINTERNET
,
DWORD
,
DWORD
,
LPCWSTR
,
LPCWSTR
,
LPVOID
);
BOOL
WINAPI
WinHttpSetOption
(
HINTERNET
,
DWORD
,
LPVOID
,
DWORD
);
WINHTTP_STATUS_CALLBACK
WINAPI
WinHttpSetStatusCallback
(
HINTERNET
,
WINHTTP_STATUS_CALLBACK
,
DWORD
,
DWORD_PTR
);
BOOL
WINAPI
WinHttpSetTimeouts
(
HINTERNET
,
int
,
int
,
int
,
int
);
BOOL
WINAPI
WinHttpTimeFromSystemTime
(
const
SYSTEMTIME
*
,
LPWSTR
);
BOOL
WINAPI
WinHttpTimeToSystemTime
(
LPCWSTR
,
SYSTEMTIME
*
);
DWORD
WINAPI
WinHttpWebSocketClose
(
HINTERNET
,
USHORT
,
void
*
,
DWORD
);
HINTERNET
WINAPI
WinHttpWebSocketCompleteUpgrade
(
HINTERNET
,
DWORD_PTR
);
DWORD
WINAPI
WinHttpWebSocketQueryCloseStatus
(
HINTERNET
,
USHORT
*
,
void
*
,
DWORD
,
DWORD
*
);
DWORD
WINAPI
WinHttpWebSocketReceive
(
HINTERNET
,
void
*
,
DWORD
,
DWORD
*
,
WINHTTP_WEB_SOCKET_BUFFER_TYPE
*
);
DWORD
WINAPI
WinHttpWebSocketSend
(
HINTERNET
,
WINHTTP_WEB_SOCKET_BUFFER_TYPE
,
void
*
,
DWORD
);
DWORD
WINAPI
WinHttpWebSocketShutdown
(
HINTERNET
,
USHORT
,
void
*
,
DWORD
);
BOOL
WINAPI
WinHttpWriteData
(
HINTERNET
,
LPCVOID
,
DWORD
,
LPDWORD
);
DWORD
WINAPI
WinHttpWriteProxySettings
(
HINTERNET
,
BOOL
,
WINHTTP_PROXY_SETTINGS
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpAddRequestHeaders
(
HINTERNET
,
LPCWSTR
,
DWORD
,
DWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpDetectAutoProxyConfigUrl
(
DWORD
,
LPWSTR
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpCheckPlatform
(
void
);
WINHTTPAPI
BOOL
WINAPI
WinHttpCloseHandle
(
HINTERNET
);
WINHTTPAPI
HINTERNET
WINAPI
WinHttpConnect
(
HINTERNET
,
LPCWSTR
,
INTERNET_PORT
,
DWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpCrackUrl
(
LPCWSTR
,
DWORD
,
DWORD
,
LPURL_COMPONENTS
);
WINHTTPAPI
DWORD
WINAPI
WinHttpCreateProxyResolver
(
HINTERNET
,
HINTERNET
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpCreateUrl
(
LPURL_COMPONENTS
,
DWORD
,
LPWSTR
,
LPDWORD
);
WINHTTPAPI
VOID
WINAPI
WinHttpFreeProxyResult
(
WINHTTP_PROXY_RESULT
*
);
WINHTTPAPI
VOID
WINAPI
WinHttpFreeProxyResultEx
(
WINHTTP_PROXY_RESULT_EX
*
);
WINHTTPAPI
VOID
WINAPI
WinHttpFreeProxySettings
(
WINHTTP_PROXY_SETTINGS
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpGetDefaultProxyConfiguration
(
WINHTTP_PROXY_INFO
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpGetIEProxyConfigForCurrentUser
(
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpGetProxyForUrl
(
HINTERNET
,
LPCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
WINHTTP_PROXY_INFO
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpGetProxyForUrlEx
(
HINTERNET
,
PCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
DWORD_PTR
);
WINHTTPAPI
DWORD
WINAPI
WinHttpGetProxyForUrlEx2
(
HINTERNET
,
PCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
DWORD
,
BYTE
*
,
DWORD_PTR
);
WINHTTPAPI
DWORD
WINAPI
WinHttpGetProxyResult
(
HINTERNET
,
WINHTTP_PROXY_RESULT
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpGetProxyResultEx
(
HINTERNET
,
WINHTTP_PROXY_RESULT_EX
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpGetProxySettingsVersion
(
HINTERNET
,
DWORD
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpIsHostInProxyBypassList
(
const
WINHTTP_PROXY_INFO
*
,
PCWSTR
,
INTERNET_SCHEME
,
INTERNET_PORT
,
BOOL
*
);
WINHTTPAPI
HINTERNET
WINAPI
WinHttpOpen
(
LPCWSTR
,
DWORD
,
LPCWSTR
,
LPCWSTR
,
DWORD
);
WINHTTPAPI
HINTERNET
WINAPI
WinHttpOpenRequest
(
HINTERNET
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
LPCWSTR
*
,
DWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpQueryAuthParams
(
HINTERNET
,
DWORD
,
LPVOID
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpQueryAuthSchemes
(
HINTERNET
,
LPDWORD
,
LPDWORD
,
LPDWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpQueryDataAvailable
(
HINTERNET
,
LPDWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpQueryHeaders
(
HINTERNET
,
DWORD
,
LPCWSTR
,
LPVOID
,
LPDWORD
,
LPDWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpQueryOption
(
HINTERNET
,
DWORD
,
LPVOID
,
LPDWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpReadData
(
HINTERNET
,
LPVOID
,
DWORD
,
LPDWORD
);
WINHTTPAPI
DWORD
WINAPI
WinHttpReadProxySettings
(
HINTERNET
,
PCWSTR
,
BOOL
,
BOOL
,
DWORD
*
,
BOOL
*
,
WINHTTP_PROXY_SETTINGS
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpReceiveResponse
(
HINTERNET
,
LPVOID
);
WINHTTPAPI
DWORD
WINAPI
WinHttpResetAutoProxy
(
HINTERNET
,
DWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpSendRequest
(
HINTERNET
,
LPCWSTR
,
DWORD
,
LPVOID
,
DWORD
,
DWORD
,
DWORD_PTR
);
WINHTTPAPI
BOOL
WINAPI
WinHttpSetDefaultProxyConfiguration
(
WINHTTP_PROXY_INFO
*
);
WINHTTPAPI
BOOL
WINAPI
WinHttpSetCredentials
(
HINTERNET
,
DWORD
,
DWORD
,
LPCWSTR
,
LPCWSTR
,
LPVOID
);
WINHTTPAPI
BOOL
WINAPI
WinHttpSetOption
(
HINTERNET
,
DWORD
,
LPVOID
,
DWORD
);
WINHTTP
API
WINHTTP
_STATUS_CALLBACK
WINAPI
WinHttpSetStatusCallback
(
HINTERNET
,
WINHTTP_STATUS_CALLBACK
,
DWORD
,
DWORD_PTR
);
WINHTTPAPI
BOOL
WINAPI
WinHttpSetTimeouts
(
HINTERNET
,
int
,
int
,
int
,
int
);
WINHTTPAPI
BOOL
WINAPI
WinHttpTimeFromSystemTime
(
const
SYSTEMTIME
*
,
LPWSTR
);
WINHTTPAPI
BOOL
WINAPI
WinHttpTimeToSystemTime
(
LPCWSTR
,
SYSTEMTIME
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWebSocketClose
(
HINTERNET
,
USHORT
,
void
*
,
DWORD
);
WINHTTPAPI
HINTERNET
WINAPI
WinHttpWebSocketCompleteUpgrade
(
HINTERNET
,
DWORD_PTR
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWebSocketQueryCloseStatus
(
HINTERNET
,
USHORT
*
,
void
*
,
DWORD
,
DWORD
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWebSocketReceive
(
HINTERNET
,
void
*
,
DWORD
,
DWORD
*
,
WINHTTP_WEB_SOCKET_BUFFER_TYPE
*
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWebSocketSend
(
HINTERNET
,
WINHTTP_WEB_SOCKET_BUFFER_TYPE
,
void
*
,
DWORD
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWebSocketShutdown
(
HINTERNET
,
USHORT
,
void
*
,
DWORD
);
WINHTTPAPI
BOOL
WINAPI
WinHttpWriteData
(
HINTERNET
,
LPCVOID
,
DWORD
,
LPDWORD
);
WINHTTPAPI
DWORD
WINAPI
WinHttpWriteProxySettings
(
HINTERNET
,
BOOL
,
WINHTTP_PROXY_SETTINGS
*
);
#ifdef __cplusplus
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment