WINHTTP_PROXY_RESULT_ENTRY structure (winhttp.h)

The WINHTTP_PROXY_RESULT_ENTRY structure contains a result entry from a call to WinHttpGetProxyResult.

Syntax

typedef struct _WINHTTP_PROXY_RESULT_ENTRY {
  BOOL            fProxy;
  BOOL            fBypass;
  INTERNET_SCHEME ProxyScheme;
  PWSTR           pwszProxy;
  INTERNET_PORT   ProxyPort;
} WINHTTP_PROXY_RESULT_ENTRY;

Members

fProxy

A BOOL that whether a result is from a proxy. It is set to TRUE if the result contains a proxy or FALSE if the result does not contain a proxy.

fBypass

A BOOL that indicates if the result is bypassing a proxy (on an intranet). It is set to TRUE if the result is bypassing a proxy or FALSE if all traffic is direct. This parameter applies only if fProxy is FALSE.

ProxyScheme

An INTERNET_SCHEME value that specifies the scheme of the proxy.

pwszProxy

A string that contains the hostname of the proxy.

ProxyPort

An INTERNET_PORT value that specifies the port of the proxy.

Remarks

This structure is stored in an array inside of a WINHTTP_PROXY_RESULT structure.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header winhttp.h

See also

WINHTTP_PROXY_RESULT

WinHttpFreeProxyResult

WinHttpGetProxyResult