ReactOS 0.4.15-dev-8636-g945e856
|
Go to the source code of this file.
Classes | |
struct | URL_COMPONENTS |
struct | WINHTTP_ASYNC_RESULT |
struct | WINHTTP_CERTIFICATE_INFO |
struct | WINHTTP_PROXY_INFO |
struct | WINHTTP_CURRENT_USER_IE_PROXY_CONFIG |
struct | WINHTTP_AUTOPROXY_OPTIONS |
struct | HTTP_VERSION_INFO |
Typedefs | |
typedef LPVOID | HINTERNET |
typedef HINTERNET * | LPHINTERNET |
typedef WORD | INTERNET_PORT |
typedef INTERNET_PORT * | LPINTERNET_PORT |
typedef int | INTERNET_SCHEME |
typedef int * | LPINTERNET_SCHEME |
typedef struct URL_COMPONENTS * | LPURL_COMPONENTS |
typedef URL_COMPONENTS | URL_COMPONENTSW |
typedef LPURL_COMPONENTS | LPURL_COMPONENTSW |
typedef struct WINHTTP_ASYNC_RESULT * | LPWINHTTP_ASYNC_RESULT |
typedef struct WINHTTP_PROXY_INFO * | LPWINHTTP_PROXY_INFO |
typedef WINHTTP_PROXY_INFO | WINHTTP_PROXY_INFOW |
typedef LPWINHTTP_PROXY_INFO | LPWINHTTP_PROXY_INFOW |
typedef VOID(CALLBACK * | WINHTTP_STATUS_CALLBACK) (_In_ HINTERNET, _In_ DWORD_PTR, _In_ DWORD, _In_ LPVOID, _In_ DWORD) |
typedef struct HTTP_VERSION_INFO * | LPHTTP_VERSION_INFO |
Variables | |
_In_ | DWORD |
_In_ _Out_writes_to_opt_ pdwUrlLength | LPWSTR |
_In_ _Out_writes_to_opt_ pdwUrlLength _Inout_ LPDWORD | pdwUrlLength |
_In_ _In_opt_ | LPCWSTR |
_In_ _In_opt_ _Out_writes_bytes_to_opt_ lpdwBufferLength _Inout_ LPDWORD | lpdwBufferLength |
_In_ _In_opt_ _Out_writes_bytes_to_opt_ lpdwBufferLength _Inout_ LPDWORD _Inout_ | LPDWORD |
#define ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR (WINHTTP_ERROR_BASE + 178) |
#define ERROR_WINHTTP_AUTODETECTION_FAILED (WINHTTP_ERROR_BASE + 180) |
#define ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT (WINHTTP_ERROR_BASE + 166) |
#define ERROR_WINHTTP_CANNOT_CALL_AFTER_OPEN (WINHTTP_ERROR_BASE + 103) |
#define ERROR_WINHTTP_CANNOT_CALL_AFTER_SEND (WINHTTP_ERROR_BASE + 102) |
#define ERROR_WINHTTP_CANNOT_CALL_BEFORE_OPEN (WINHTTP_ERROR_BASE + 100) |
#define ERROR_WINHTTP_CANNOT_CALL_BEFORE_SEND (WINHTTP_ERROR_BASE + 101) |
#define ERROR_WINHTTP_CANNOT_CONNECT (WINHTTP_ERROR_BASE + 29) |
#define ERROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW (WINHTTP_ERROR_BASE + 183) |
#define ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED (WINHTTP_ERROR_BASE + 44) |
#define ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY (WINHTTP_ERROR_BASE + 186) |
#define ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY (WINHTTP_ERROR_BASE + 185) |
#define ERROR_WINHTTP_CONNECTION_ERROR (WINHTTP_ERROR_BASE + 30) |
#define ERROR_WINHTTP_HEADER_ALREADY_EXISTS (WINHTTP_ERROR_BASE + 155) |
#define ERROR_WINHTTP_HEADER_COUNT_EXCEEDED (WINHTTP_ERROR_BASE + 181) |
#define ERROR_WINHTTP_HEADER_NOT_FOUND (WINHTTP_ERROR_BASE + 150) |
#define ERROR_WINHTTP_HEADER_SIZE_OVERFLOW (WINHTTP_ERROR_BASE + 182) |
#define ERROR_WINHTTP_INCORRECT_HANDLE_STATE (WINHTTP_ERROR_BASE + 19) |
#define ERROR_WINHTTP_INCORRECT_HANDLE_TYPE (WINHTTP_ERROR_BASE + 18) |
#define ERROR_WINHTTP_INTERNAL_ERROR (WINHTTP_ERROR_BASE + 4) |
#define ERROR_WINHTTP_INVALID_HEADER (WINHTTP_ERROR_BASE + 153) |
#define ERROR_WINHTTP_INVALID_OPTION (WINHTTP_ERROR_BASE + 9) |
#define ERROR_WINHTTP_INVALID_QUERY_REQUEST (WINHTTP_ERROR_BASE + 154) |
#define ERROR_WINHTTP_INVALID_SERVER_RESPONSE (WINHTTP_ERROR_BASE + 152) |
#define ERROR_WINHTTP_INVALID_URL (WINHTTP_ERROR_BASE + 5) |
#define ERROR_WINHTTP_LOGIN_FAILURE (WINHTTP_ERROR_BASE + 15) |
#define ERROR_WINHTTP_NAME_NOT_RESOLVED (WINHTTP_ERROR_BASE + 7) |
#define ERROR_WINHTTP_NOT_INITIALIZED (WINHTTP_ERROR_BASE + 172) |
#define ERROR_WINHTTP_OPERATION_CANCELLED (WINHTTP_ERROR_BASE + 17) |
#define ERROR_WINHTTP_OPTION_NOT_SETTABLE (WINHTTP_ERROR_BASE + 11) |
#define ERROR_WINHTTP_OUT_OF_HANDLES (WINHTTP_ERROR_BASE + 1) |
#define ERROR_WINHTTP_REDIRECT_FAILED (WINHTTP_ERROR_BASE + 156) |
#define ERROR_WINHTTP_RESEND_REQUEST (WINHTTP_ERROR_BASE + 32) |
#define ERROR_WINHTTP_RESPONSE_DRAIN_OVERFLOW (WINHTTP_ERROR_BASE + 184) |
#define ERROR_WINHTTP_SECURE_CERT_CN_INVALID (WINHTTP_ERROR_BASE + 38) |
#define ERROR_WINHTTP_SECURE_CERT_DATE_INVALID (WINHTTP_ERROR_BASE + 37) |
#define ERROR_WINHTTP_SECURE_CERT_REV_FAILED (WINHTTP_ERROR_BASE + 57) |
#define ERROR_WINHTTP_SECURE_CERT_REVOKED (WINHTTP_ERROR_BASE + 170) |
#define ERROR_WINHTTP_SECURE_CERT_WRONG_USAGE (WINHTTP_ERROR_BASE + 179) |
#define ERROR_WINHTTP_SECURE_CHANNEL_ERROR (WINHTTP_ERROR_BASE + 157) |
#define ERROR_WINHTTP_SECURE_FAILURE (WINHTTP_ERROR_BASE + 175) |
#define ERROR_WINHTTP_SECURE_INVALID_CA (WINHTTP_ERROR_BASE + 45) |
#define ERROR_WINHTTP_SECURE_INVALID_CERT (WINHTTP_ERROR_BASE + 169) |
#define ERROR_WINHTTP_SHUTDOWN (WINHTTP_ERROR_BASE + 12) |
#define ERROR_WINHTTP_TIMEOUT (WINHTTP_ERROR_BASE + 2) |
#define ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT (WINHTTP_ERROR_BASE + 167) |
#define ERROR_WINHTTP_UNRECOGNIZED_SCHEME (WINHTTP_ERROR_BASE + 6) |
#define HTTP_STATUS_FIRST HTTP_STATUS_CONTINUE |
#define HTTP_STATUS_LAST HTTP_STATUS_VERSION_NOT_SUP |
#define WINHTTP_ADDREQ_FLAG_COALESCE WINHTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA |
#define WINHTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON 0x01000000 |
#define WINHTTP_AUTOLOGON_SECURITY_LEVEL_DEFAULT WINHTTP_AUTOLOGON_SECURITY_LEVEL_MEDIUM |
#define WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS |
#define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff |
#define WINHTTP_CALLBACK_FLAG_CLOSE_CONNECTION (WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION | WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED) |
#define WINHTTP_CALLBACK_FLAG_CONNECT_TO_SERVER (WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER | WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER) |
#define WINHTTP_CALLBACK_FLAG_DATA_AVAILABLE WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE |
#define WINHTTP_CALLBACK_FLAG_DETECTING_PROXY WINHTTP_CALLBACK_STATUS_DETECTING_PROXY |
#define WINHTTP_CALLBACK_FLAG_HANDLES (WINHTTP_CALLBACK_STATUS_HANDLE_CREATED | WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING) |
#define WINHTTP_CALLBACK_FLAG_HEADERS_AVAILABLE WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE |
#define WINHTTP_CALLBACK_FLAG_INTERMEDIATE_RESPONSE WINHTTP_CALLBACK_STATUS_INTERMEDIATE_RESPONSE |
#define WINHTTP_CALLBACK_FLAG_READ_COMPLETE WINHTTP_CALLBACK_STATUS_READ_COMPLETE |
#define WINHTTP_CALLBACK_FLAG_RECEIVE_RESPONSE (WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE | WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED) |
#define WINHTTP_CALLBACK_FLAG_REDIRECT WINHTTP_CALLBACK_STATUS_REDIRECT |
#define WINHTTP_CALLBACK_FLAG_REQUEST_ERROR WINHTTP_CALLBACK_STATUS_REQUEST_ERROR |
#define WINHTTP_CALLBACK_FLAG_RESOLVE_NAME (WINHTTP_CALLBACK_STATUS_RESOLVING_NAME | WINHTTP_CALLBACK_STATUS_NAME_RESOLVED) |
#define WINHTTP_CALLBACK_FLAG_SECURE_FAILURE WINHTTP_CALLBACK_STATUS_SECURE_FAILURE |
#define WINHTTP_CALLBACK_FLAG_SEND_REQUEST (WINHTTP_CALLBACK_STATUS_SENDING_REQUEST | WINHTTP_CALLBACK_STATUS_REQUEST_SENT) |
#define WINHTTP_CALLBACK_FLAG_SENDREQUEST_COMPLETE WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE |
#define WINHTTP_CALLBACK_FLAG_WRITE_COMPLETE WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE |
#define WINHTTP_CALLBACK_STATUS_CLOSING_CONNECTION 0x00000100 |
#define WINHTTP_CALLBACK_STATUS_CONNECTED_TO_SERVER 0x00000008 |
#define WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER 0x00000004 |
#define WINHTTP_CALLBACK_STATUS_CONNECTION_CLOSED 0x00000200 |
#define WINHTTP_CALLBACK_STATUS_DETECTING_PROXY 0x00001000 |
#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_CN_INVALID 0x00000010 |
#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_DATE_INVALID 0x00000020 |
#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REV_FAILED 0x00000001 |
#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_REVOKED 0x00000004 |
#define WINHTTP_CALLBACK_STATUS_FLAG_CERT_WRONG_USAGE 0x00000040 |
#define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CA 0x00000008 |
#define WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CERT 0x00000002 |
#define WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR 0x80000000 |
#define WINHTTP_CALLBACK_STATUS_HEADERS_AVAILABLE 0x00020000 |
#define WINHTTP_CALLBACK_STATUS_INTERMEDIATE_RESPONSE 0x00008000 |
#define WINHTTP_CALLBACK_STATUS_RECEIVING_RESPONSE 0x00000040 |
#define WINHTTP_CALLBACK_STATUS_RESPONSE_RECEIVED 0x00000080 |
#define WINHTTP_CALLBACK_STATUS_SENDING_REQUEST 0x00000010 |
#define WINHTTP_CALLBACK_STATUS_SENDREQUEST_COMPLETE 0x00400000 |
#define WINHTTP_ENABLE_SSL_REVERT_IMPERSONATION 0x00000002 |
#define WINHTTP_ERROR_LAST (WINHTTP_ERROR_BASE + 186) |
#define WINHTTP_FIRST_OPTION WINHTTP_OPTION_CALLBACK |
#define WINHTTP_FLAG_REFRESH WINHTTP_FLAG_BYPASS_PROXY_CACHE |
#define WINHTTP_FLAG_SECURE_PROTOCOL_ALL |
#define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1)) |
#define WINHTTP_LAST_OPTION WINHTTP_OPTION_USE_GLOBAL_SERVER_CREDENTIALS |
#define WINHTTP_OPTION_REDIRECT_POLICY_DEFAULT WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP |
#define WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP 1 |
#define WINHTTP_OPTION_REDIRECT_POLICY_LAST WINHTTP_OPTION_REDIRECT_POLICY_ALWAYS |
#define WINHTTP_OPTION_SPN_MASK WINHTTP_ENABLE_SPN_SERVER_PORT |
typedef WORD INTERNET_PORT |
typedef int INTERNET_SCHEME |
typedef HINTERNET* LPHINTERNET |
typedef struct HTTP_VERSION_INFO * LPHTTP_VERSION_INFO |
typedef INTERNET_PORT* LPINTERNET_PORT |
typedef int * LPINTERNET_SCHEME |
typedef struct URL_COMPONENTS * LPURL_COMPONENTS |
typedef LPURL_COMPONENTS LPURL_COMPONENTSW |
typedef struct WINHTTP_ASYNC_RESULT * LPWINHTTP_ASYNC_RESULT |
typedef struct WINHTTP_PROXY_INFO * LPWINHTTP_PROXY_INFO |
typedef URL_COMPONENTS URL_COMPONENTSW |
_In_ _Out_writes_bytes_to_opt_ lpdwBufferLength __out_data_source | ( | NETWORK | ) |
_Success_ | ( | return ! | = 0 | ) |
Definition at line 1028 of file fsctrl.c.
BOOL WINAPI WinHttpAddRequestHeaders | ( | _In_ | HINTERNET, |
_When_(dwHeadersLength==(DWORD) -1, _In_z_) _When_(dwHeadersLength !=(DWORD) -1, _In_reads_(dwHeadersLength)) | LPCWSTR, | ||
_In_ DWORD | dwHeadersLength, | ||
_In_ | DWORD | ||
) |
HINTERNET WINAPI WinHttpConnect | ( | _In_ | HINTERNET, |
_In_ | LPCWSTR, | ||
_In_ | INTERNET_PORT, | ||
_Reserved_ | DWORD | ||
) |
BOOL WINAPI WinHttpCrackUrl | ( | _In_reads_(dwUrlLength) | LPCWSTR, |
_In_ DWORD | dwUrlLength, | ||
_In_ | DWORD, | ||
_Inout_ | LPURL_COMPONENTS | ||
) |
BOOL WINAPI WinHttpDetectAutoProxyConfigUrl | ( | _In_ | DWORD, |
_Outptr_result_maybenull_ LPWSTR * | |||
) |
BOOL WINAPI WinHttpGetDefaultProxyConfiguration | ( | _Inout_ WINHTTP_PROXY_INFO * | ) |
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser | ( | _Inout_ WINHTTP_CURRENT_USER_IE_PROXY_CONFIG * | ) |
BOOL WINAPI WinHttpGetProxyForUrl | ( | _In_ | HINTERNET, |
_In_ | LPCWSTR, | ||
_In_ WINHTTP_AUTOPROXY_OPTIONS * | , | ||
_Out_ WINHTTP_PROXY_INFO * | |||
) |
HINTERNET WINAPI WinHttpOpen | ( | _In_opt_z_ | LPCWSTR, |
_In_ | DWORD, | ||
_In_opt_z_ | LPCWSTR, | ||
_In_opt_z_ | LPCWSTR, | ||
_In_ | DWORD | ||
) |
HINTERNET WINAPI WinHttpOpenRequest | ( | _In_ | HINTERNET, |
_In_ | LPCWSTR, | ||
_In_ | LPCWSTR, | ||
_In_ | LPCWSTR, | ||
_In_ | LPCWSTR, | ||
_In_ LPCWSTR * | , | ||
_In_ | DWORD | ||
) |
BOOL WINAPI WinHttpQueryDataAvailable | ( | _In_ | HINTERNET, |
__out_data_source(NETWORK) | LPDWORD | ||
) |
BOOL WINAPI WinHttpReadData | ( | _In_ | HINTERNET, |
_Out_writes_bytes_to_(dwNumberOfBytesToRead, *lpdwNumberOfBytesRead) __out_data_source(NETWORK) | LPVOID, | ||
_In_ DWORD | dwNumberOfBytesToRead, | ||
_Out_ LPDWORD | lpdwNumberOfBytesRead | ||
) |
BOOL WINAPI WinHttpReceiveResponse | ( | _In_ | HINTERNET, |
_Reserved_ | LPVOID | ||
) |
BOOL WINAPI WinHttpSendRequest | ( | _In_ | HINTERNET, |
_In_reads_opt_(dwHeadersLength) | LPCWSTR, | ||
_In_ DWORD | dwHeadersLength, | ||
_In_reads_bytes_opt_(dwOptionalLength) | LPVOID, | ||
_In_ DWORD | dwOptionalLength, | ||
_In_ | DWORD, | ||
_In_ | DWORD_PTR | ||
) |
BOOL WINAPI WinHttpSetCredentials | ( | _In_ | HINTERNET, |
_In_ | DWORD, | ||
_In_ | DWORD, | ||
_In_ | LPCWSTR, | ||
_In_ | LPCWSTR, | ||
_Reserved_ | LPVOID | ||
) |
BOOL WINAPI WinHttpSetDefaultProxyConfiguration | ( | _In_ WINHTTP_PROXY_INFO * | ) |
BOOL WINAPI WinHttpSetOption | ( | _In_opt_ | HINTERNET, |
_In_ DWORD | dwOption, | ||
_When_((dwOption==WINHTTP_OPTION_USERNAME||dwOption==WINHTTP_OPTION_PASSWORD||dwOption==WINHTTP_OPTION_PROXY_USERNAME||dwOption==WINHTTP_OPTION_PROXY_PASSWORD||dwOption==WINHTTP_OPTION_USER_AGENT), _At_((LPCWSTR) lpBuffer, _In_reads_(dwBufferLength))) _When_((dwOption !=WINHTTP_OPTION_USERNAME &&dwOption !=WINHTTP_OPTION_PASSWORD &&dwOption !=WINHTTP_OPTION_PROXY_USERNAME &&dwOption !=WINHTTP_OPTION_PROXY_PASSWORD &&dwOption !=WINHTTP_OPTION_USER_AGENT), _In_reads_bytes_(dwBufferLength)) LPVOID | lpBuffer, | ||
_In_ DWORD | dwBufferLength | ||
) |
WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback | ( | _In_ | HINTERNET, |
_In_ | WINHTTP_STATUS_CALLBACK, | ||
_In_ | DWORD, | ||
_Reserved_ | DWORD_PTR | ||
) |
BOOL WINAPI WinHttpTimeFromSystemTime | ( | _In_ CONST SYSTEMTIME * | , |
_Out_writes_bytes_(WINHTTP_TIME_FORMAT_BUFSIZE) | LPWSTR | ||
) |
BOOL WINAPI WinHttpTimeToSystemTime | ( | _In_z_ | LPCWSTR, |
_Out_ SYSTEMTIME * | |||
) |
BOOL WINAPI WinHttpWriteData | ( | _In_ | HINTERNET, |
_In_reads_bytes_opt_(dwNumberOfBytesToWrite) | LPCVOID, | ||
_In_ DWORD | dwNumberOfBytesToWrite, | ||
_Out_ | LPDWORD | ||
) |
_Out_writes_bytes_to_ lpdwBufferLength LPWSTR _Inout_ LPDWORD lpdwBufferLength |
Definition at line 675 of file winhttp.h.
Referenced by HTTP_HttpQueryInfoW(), HttpQueryInfoA(), HttpQueryInfoW(), InternetCanonicalizeUrlA(), InternetCanonicalizeUrlW(), InternetCombineUrlA(), InternetCombineUrlW(), InternetGetLastResponseInfoA(), InternetGetLastResponseInfoW(), InternetQueryOptionA(), InternetQueryOptionW(), MakeSelfRelativeSD(), mwsNSPLookupServiceNext(), WSAEnumNameSpaceProvidersA(), WSAEnumNameSpaceProvidersInternal(), WSAEnumNameSpaceProvidersW(), WSAEnumProtocolsA(), WSAEnumProtocolsW(), WSALookupServiceNextA(), WSALookupServiceNextW(), and WSCEnumProtocols().