INTERNET_PROXY_INFO structure

Contains information that is supplied with the INTERNET_OPTION_PROXY value to get or set proxy information on a handle obtained from a call to the InternetOpen function.

Syntax

typedef struct {
  DWORD   dwAccessType;
  LPCTSTR lpszProxy;
  LPCTSTR lpszProxyBypass;
} INTERNET_PROXY_INFO, *LPINTERNET_PROXY_INFO;

Members

        `dwAccessType`

        Access type. This member can be one of the following values. 
Value Meaning
INTERNET_OPEN_TYPE_DIRECT
Internet accessed through a direct connection.
INTERNET_OPEN_TYPE_PRECONFIG
Applies only when setting proxy information.
INTERNET_OPEN_TYPE_PROXY
Internet accessed using a proxy.
`lpszProxy`
        Pointer to a string that contains the proxy server list.
    
    
        `lpszProxyBypass`

        Pointer to a string that contains the proxy bypass list.
    

## Remarks
    <div class="alert"><b>Note</b>  WinINet does not support server implementations. In addition, it should not be used from a service.  For server implementations or services use <a href="https://docs.microsoft.com/windows/desktop/WinHttp/winhttp-start-page">Microsoft Windows HTTP Services (WinHTTP)</a>.</div>
 

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wininet.h
## See Also

    <a href="https://docs.microsoft.com/windows/desktop/api/wininet/nf-wininet-internetqueryoptiona">InternetQueryOption</a>

InternetSetOption