Export (0) Print
Expand All

INTERNET_PER_CONN_OPTION

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This structure contains the value of an option.


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

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 Value parameter 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.

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

Headerwininet.h
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft