PROXY_INFO structure (searchapi.h)

Stores information about a proxy. Used by ISearchProtocol.

Syntax

typedef struct _PROXY_INFO {
  DWORD        dwSize;
  LPCWSTR      pcwszUserAgent;
  PROXY_ACCESS paUseProxy;
  BOOL         fLocalBypass;
  DWORD        dwPortNumber;
  LPCWSTR      pcwszProxyName;
  LPCWSTR      pcwszBypassList;
} PROXY_INFO;

Members

dwSize

Type: DWORD

The size of the structure in bytes.

pcwszUserAgent

Type: LPCWSTR

A pointer to a Unicode string buffer containing the user agent string.

paUseProxy

Type: PROXY_ACCESS

The proxy type to use.

fLocalBypass

Type: BOOL

The bypass proxy for local addresses.

dwPortNumber

Type: DWORD

The port number to use.

pcwszProxyName

Type: LPCWSTR

A pointer to a Unicode string buffer that contains the name of the proxy server.

pcwszBypassList

Type: LPCWSTR

The list of sites that will bypass the proxy.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0