[in] A handle to an HTTP session returned byInternetConnect.
[in] A pointer to a null-terminated string that contains the HTTP verb to use in the request. If this parameter is NULL, the function uses GET as the HTTP verb.
[in] A pointer to a null-terminated string that contains the name of the target object of the specified HTTP verb. This is generally a file name, an executable module, or a search specifier.
[in] A pointer to a null-terminated string that contains the HTTP version. If this parameter is NULL, the function uses HTTP/1.1 as the version.
[in] A pointer to a null-terminated string that specifies the URL of the document from which the URL in the request (lpszObjectName) was obtained. If this parameter is NULL, no referrer is specified.
[in] A pointer to a null-terminated array of strings that indicates media types accepted by the client. If this parameter is NULL, no types are accepted by the client. Servers generally interpret a lack of accept types to indicate that the client accepts only documents of type "text/*" (that is, only text documents—no pictures or other binary files). For more information and a list of valid media types, seeftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types.
[in] Internet options. This parameter can be any of the following values.
Returns the resource from the cache if the network request for the resource fails due to an ERROR_INTERNET_CONNECTION_RESET (the connection with the server has been reset) or ERROR_INTERNET_CANNOT_CONNECT (the attempt to connect to the server failed).
Forces a reload if there was no Expires time and no LastModified time returned from the server when determining whether to reload the item from the network.
Disables checking of SSL/PCT-based certificates that are returned from the server against the host name given in the request. WinINet functions use a simple check against certificates by comparing for matching host names and simple wildcarding rules.
Disables checking of SSL/PCT-based certificates for proper validity dates.
Disables detection of this special type of redirect. When this flag is used, WinINet functions transparently allow redirects from HTTPS to HTTP URLs.
Disables detection of this special type of redirect. When this flag is used, WinINet functions transparently allow redirects from HTTP to HTTPS URLs.
Uses keep-alive semantics, if available, for the connection. This flag is required for Microsoft Network (MSN), NT LAN Manager (NTLM), and other types of authentication.
Causes a temporary file to be created if the file cannot be cached.
Does not attempt authentication automatically.
Does not automatically handle redirection inHttpSendRequest.
Does not add the returned entity to the cache.
Does not automatically add cookie headers to requests, and does not automatically add returned cookies to the cookie database.
Disables the cookie dialog box.
Forces the request to be resolved by the origin server, even if a cached copy exists on the proxy.
Forces a download of the requested file, object, or directory listing from the origin server, not from the cache.
Reloads HTTP resources if the resource has been modified since the last time it was downloaded. All FTP and Gopher resources are reloaded.
Uses secure transaction semantics. This translates to using Secure Sockets Layer/Private Communications Technology (SSL/PCT) and is only meaningful in HTTP requests.
[in] A pointer to a variable that contains the application-defined value that associates this operation with any application data.
Returns an HTTP request handle if successful, or NULL otherwise. To retrieve extended error information, callGetLastError.