WINHTTP_PROXY_SETTINGS_EX structure (winhttp.h)

Represents extended proxy settings.

Syntax

typedef struct _WINHTTP_PROXY_SETTINGS_EX {
  ULONGLONG ullGenerationId;
  ULONGLONG ullFlags;
  PCWSTR    pcwszAutoconfigUrl;
  PCWSTR    pcwszProxy;
  PCWSTR    pcwszSecureProxy;
  DWORD     cProxyBypasses;
  PCWSTR    *rgpcwszProxyBypasses;
  DWORD     dwInterfaceIndex;
  PCWSTR    pcwszConnectionName;
} WINHTTP_PROXY_SETTINGS_EX, *PWINHTTP_PROXY_SETTINGS_EX;

Members

ullGenerationId

Type: ULONGLONG

The current network generation (incremented each time the configuration is changed).

ullFlags

Type: ULONGLONG

Flags for the proxy settings (for example, WINHTTP_PROXY_TYPE_DIRECT).

pcwszAutoconfigUrl

Type: PCWSTR

The PAC URL for the network (for example, L"http://proxy.contoso.com/wpad.dat").

pcwszProxy

Type: PCWSTR

The proxy address and port for HTTP traffic (for example, L"http://192.168.1.1:8888").

pcwszSecureProxy

Type: PCWSTR

The proxy address and port for HTTPS traffic (for example, L"http://192.168.1.1:8888").

cProxyBypasses

Type: DWORD

The number of entries in the proxy bypass list (rgpcwszProxyBypasses).

rgpcwszProxyBypasses

Type: PCWSTR*

An array of strings containing each site in the proxy bypass list. (for example, L"contoso.com").

dwInterfaceIndex

Type: DWORD

The interface index for which settings were retrieved.

pcwszConnectionName

Type: PCWSTR

The WCM connection name for which settings were retrieved.

Requirements

Requirement Value
Header winhttp.h