Internet option to query. Can be one of these values:
INTERNET_OPTION_CALLBACK
Returns the address of the callback function defined for this handle.
INTERNET_OPTION_CONNECT_TIMEOUT
Returns the time-out value in milliseconds to use for Internet connection requests.
If a connection request takes longer than this time-out value, the request is canceled.
The default time-out value is infinite.
INTERNET_OPTION_CONNECT_RETRIES
Returns the retry count to use for Internet connection requests. If a connection attempt
still fails after the specified number of tries, the request is canceled. The default is
five retries.
INTERNET_OPTION_CONNECT_BACKOFF
Returns the delay value, in milliseconds, to wait between connection retries. (This flag
is currently not implemented.)
INTERNET_OPTION_CONTROL_SEND_TIMEOUT
Returns the time-out value, in milliseconds, to use for non-data (control) Internet send
requests. If a non-data send request takes longer than this time-out, the request is canceled.
The default time-out is infinite. Currently, this value has meaning only for FTP sessions.
INTERNET_OPTION_CONTROL_RECEIVE_TIMEOUT
Returns the time-out value, in milliseconds, to use for non-data (control) Internet receive
requests. If a non-data receive request takes longer than this time-out value, the request
is canceled. The default time-out is infinite. Currently, this value has meaning only for
FTP sessions.
INTERNET_OPTION_DATA_SEND_TIMEOUT
Returns the time-out value, in milliseconds, to use for Internet data send requests. If a
data send request takes longer than this time-out value, the request is canceled. The default
time-out value is infinite.
INTERNET_OPTION_DATA_RECEIVE_TIMEOUT
Returns the time-out value, in milliseconds, to use for Internet data receive requests. If a
data receive request takes longer than this time-out value, the request is canceled. The
default time-out value is infinite.
INTERNET_OPTION_HANDLE_TYPE
Returns the type of the Internet handle passed in.
INTERNET_HANDLE_TYPE_CONNECT_HTTP
INTERNET_HANDLE_TYPE_FTP_FIND
INTERNET_HANDLE_TYPE_FTP_FIND_HTML
INTERNET_HANDLE_TYPE_FTP_FILE
INTERNET_HANDLE_TYPE_FTP_FILE_HTML
INTERNET_HANDLE_TYPE_GOPHER_FIND
INTERNET_HANDLE_TYPE_GOPHER_FIND_HTML
INTERNET_HANDLE_TYPE_GOPHER_FILE
INTERNET_HANDLE_TYPE_GOPHER_FILE_HTML
INTERNET_HANDLE_TYPE_HTTP_REQUEST
INTERNET_OPTION_CONTEXT_VALUE
Returns the context value associated with this Internet handle.
INTERNET_OPTION_READ_BUFFER_SIZE
Returns the size of the read buffer (for example, the buffer used by FtpGetFile).
INTERNET_OPTION_WRITE_BUFFER_SIZE
Returns the size of the write buffer (for example, the buffer used by FtpPutFile).
INTERNET_OPTION_ASYNC_PRIORITY
Returns the priority of this download if it is an asynchronous download.
INTERNET_OPTION_PARENT_HANDLE
Returns the parent handle of this handle.
INTERNET_OPTION_KEEP_CONNECTION
Returns an indication whether this handle uses persistent connections. Can be one of these
values: INTERNET_KEEP_ALIVE_UNKNOWN INTERNET_KEEP_ALIVE_ENABLED INTERNET_KEEP_ALIVE_DISABLED
INTERNET_OPTION_USERNAME
Returns the user name associated with a handle returned by InternetConnect.
INTERNET_OPTION_PASSWORD
Returns the password associated with the handle returned by InternetConnect.
INTERNET_OPTION_REQUEST_FLAGS
Returns special status flags about the current download in progress. The only flag that is returned
at this time is INTERNET_REQFLAG_FROM_CACHE. This is the way for the caller to find out whether a
request is being satisfied from the cache.
INTERNET_OPTION_EXTENDED_ERROR
Returns the Windows Sockets error code that was mapped to the ERROR_INTERNET_ error codes last returned
in this thread context.
INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT
Returns the certificate for an SSL/PCT server into the INTERNET_CERTIFICATE_INFO structure.
INTERNET_OPTION_SECURITY_CERTIFICATE
Returns the certificate for an SSL/PCT server into a formatted string.
INTERNET_OPTION_SECURITY_KEY_BITNESS
Returns the bit size of the encryption key. The larger the number, the greater the encryption strength
being used.
INTERNET_OPTION_OFFLINE_MODE
Not currently implemented.
INTERNET_OPTION_CACHE_STREAM_HANDLE
Returns the file handle being used to write the cached data.
INTERNET_OPTION_ASYNC
Not currently implemented.
INTERNET_OPTION_SECURITY_FLAGS
Returns the security flags for a handle. Can be a combination of these values: SECURITY_FLAG_128BIT
SECURITY_FLAG_40BIT
SECURITY_FLAG_56BIT
SECURITY_FLAG_IETFSSL4
SECURITY_FLAG_IGNORE_CERT_CN_INVALID
SECURITY_FLAG_IGNORE_CERT_DATE_INVALID
SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTP
SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTPS
SECURITY_FLAG_NORMALBITNESS
SECURITY_FLAG_PCT
SECURITY_FLAG_PCT4
SECURITY_FLAG_SECURE
SECURITY_FLAG_SSL
SECURITY_FLAG_SSL3
SECURITY_FLAG_UNKNOWNBIT
INTERNET_OPTION_DATAFILE_NAME
Returns the name of the file backing a downloaded entity.
INTERNET_OPTION_URL
Returns the full URL of a downloaded entity.
INTERNET_OPTION_REFRESH
Returns TRUE if variables are allowed to be re-read from the registry for a handle.
INTERNET_OPTION_PROXY
Returns the proxy information on an existing InternetOpen handle when the process handle is not NULL.
If the process handle is NULL, the API sets or queries the global proxy information. The lpBuffer
parameter is an INTERNET_PROXY_INFO structure that contains the proxy information.
INTERNET_OPTION_VERSION
Returns the version number of Wininet.dll. The lpBuffer parameter is the address of an INTERNET_
VERSION_INFO structure.
INTERNET_OPTION_USER_AGENT
Returns the user agent string on handles supplied by InternetOpen and used in subsequent HttpSendRequest,
so long as it is not overridden by a header added by HttpAddRequestHeaders or HttpSendRequest.