Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains the value of an option.

Syntax

typedef struct {
  DWORD 
dwOption;
  union {
	DWORD 
dwValue;
	LPTSTR 
pszValue;
	FILETIME 
ftValue;
  } Value;
} INTERNET_PER_CONN_OPTION, *LPINTERNET_PER_CONN_OPTION;

Members

dwOption

Unsigned long integer value that contains the option to be queried or set. The following table shows the possible values. This parameter can be one of these values.

Value Description

INTERNET_PER_CONN_FLAGS

Sets or retrieves the connection type. The Valueparameter will contain one or more of the following values:

PROXY_TYPE_DIRECT The connection does not use a proxy server.

PROXY_TYPE_PROXY The connection uses an explicitly set proxy server.

PROXY_TYPE_AUTO_PROXY_URL The connection downloads and processes an automatic configuration script at a specified URL.

PROXY_TYPE_AUTO_DETECT The connection automatically detects settings.

INTERNET_PER_CONN_PROXY_BYPASS

Sets or retrieves a string containing the URLs that do not use the proxy server.

INTERNET_PER_CONN_PROXY_SERVER

Sets or retrieves a string containing the proxy servers.

Remarks

For queries that return strings, InternetQueryOptionallocates the memory for the pszValuemember of the structure. When the calling application has finished using the string, it must free this memory by calling LocalFree.

Requirements

Header wininet.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.