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
9cbdcbe5
Commit
9cbdcbe5
authored
Jan 11, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Flesh out winhttp.h with more function declarations, typedefs and defines.
parent
0b500763
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
0 deletions
+67
-0
winhttp.h
include/winhttp.h
+67
-0
No files found.
include/winhttp.h
View file @
9cbdcbe5
...
...
@@ -36,6 +36,30 @@ typedef INTERNET_PORT *LPINTERNET_PORT;
#define INTERNET_SCHEME_HTTPS 2
typedef
int
INTERNET_SCHEME
,
*
LPINTERNET_SCHEME
;
/* flags for WinHttpOpen */
#define WINHTTP_FLAG_ASYNC 0x10000000
/* flags for WinHttpOpenRequest */
#define WINHTTP_FLAG_ESCAPE_PERCENT 0x00000004
#define WINHTTP_FLAG_NULL_CODEPAGE 0x00000008
#define WINHTTP_FLAG_ESCAPE_DISABLE 0x00000040
#define WINHTTP_FLAG_ESCAPE_DISABLE_QUERY 0x00000080
#define WINHTTP_FLAG_BYPASS_PROXY_CACHE 0x00000100
#define WINHTTP_FLAG_REFRESH WINHTTP_FLAG_BYPASS_PROXY_CACHE
#define WINHTTP_FLAG_SECURE 0x00800000
#define WINHTTP_ACCESS_TYPE_DEFAULT_PROXY 0
#define WINHTTP_ACCESS_TYPE_NO_PROXY 1
#define WINHTTP_ACCESS_TYPE_NAMED_PROXY 3
#define WINHTTP_NO_PROXY_NAME NULL
#define WINHTTP_NO_PROXY_BYPASS NULL
#define WINHTTP_NO_REFERER NULL
#define WINHTTP_DEFAULT_ACCEPT_TYPES NULL
#define WINHTTP_ERROR_BASE 12000
typedef
struct
{
DWORD
dwStructSize
;
...
...
@@ -92,13 +116,56 @@ typedef struct
LPWSTR
lpszProxyBypass
;
}
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
;
typedef
VOID
(
CALLBACK
*
WINHTTP_STATUS_CALLBACK
)(
HINTERNET
,
DWORD_PTR
,
DWORD
,
LPVOID
,
DWORD
);
typedef
struct
{
DWORD
dwFlags
;
DWORD
dwAutoDetectFlags
;
LPCWSTR
lpszAutoConfigUrl
;
LPVOID
lpvReserved
;
DWORD
dwReserved
;
BOOL
fAutoLogonIfChallenged
;
}
WINHTTP_AUTOPROXY_OPTIONS
;
typedef
struct
{
DWORD
dwMajorVersion
;
DWORD
dwMinorVersion
;
}
HTTP_VERSION_INFO
,
*
LPHTTP_VERSION_INFO
;
#ifdef __cplusplus
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
);
BOOL
WINAPI
WinHttpCreateUrl
(
LPURL_COMPONENTS
,
DWORD
,
LPWSTR
,
LPDWORD
);
BOOL
WINAPI
WinHttpGetDefaultProxyConfiguration
(
WINHTTP_PROXY_INFO
*
);
BOOL
WINAPI
WinHttpGetIEProxyConfigForCurrentUser
(
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
*
config
);
BOOL
WINAPI
WinHttpGetProxyForUrl
(
HINTERNET
,
LPCWSTR
,
WINHTTP_AUTOPROXY_OPTIONS
*
,
WINHTTP_PROXY_INFO
*
);
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
WinHttpReadData
(
HINTERNET
,
LPVOID
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
WinHttpReceiveResponse
(
HINTERNET
,
LPVOID
);
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
*
);
BOOL
WINAPI
WinHttpWriteData
(
HINTERNET
,
LPCVOID
,
DWORD
,
LPDWORD
);
#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