Compartilhar via


INTERNET_PROXY_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This 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
    Unsigned long integer value that contains the access type. The following table shows the possible values.

    Value Description

    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 value that contains the proxy server list.
  • lpszProxyBypass
    Pointer to a string value that contains the proxy bypass list.

Remarks

Users of this structure can use the WideCharToMultiByte function to convert a UNICODE string to a multi-byte string.

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

Reference

InternetOpen
WinInet Structures