Skip to content

Latest commit

 

History

History
117 lines (91 loc) · 3.32 KB

nf-wininet-detectautoproxyurl.md

File metadata and controls

117 lines (91 loc) · 3.32 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wininet.DetectAutoProxyUrl
DetectAutoProxyUrl function (wininet.h)
The DetectAutoProxyUrl function (wininet.h) attempts to determine the location of a WPAD autoproxy script.
DetectAutoProxyUrl
DetectAutoProxyUrl function [WinINet]
PROXY_AUTO_DETECT_TYPE_DHCP
PROXY_AUTO_DETECT_TYPE_DNS_A
_inet_detectautoproxyurl_function
wininet.detectautoproxyurl
winineti/DetectAutoProxyUrl
wininet\detectautoproxyurl.htm
wininet
4e94ab0c-0f39-4e6e-a272-6beff61e97c6
08/10/2022
DetectAutoProxyUrl, DetectAutoProxyUrl function [WinINet], PROXY_AUTO_DETECT_TYPE_DHCP, PROXY_AUTO_DETECT_TYPE_DNS_A, _inet_detectautoproxyurl_function, wininet.detectautoproxyurl, winineti/DetectAutoProxyUrl
wininet.h
Wininet.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Wininet.lib
Wininet.dll
Windows
19H1
DetectAutoProxyUrl
wininet/DetectAutoProxyUrl
c++
APIRef
kbSyntax
DllExport
Wininet.dll
DetectAutoProxyUrl

DetectAutoProxyUrl function

-description

Attempts to determine the location of a WPAD autoproxy script.

-parameters

-param pszAutoProxyUrl [in, out]

Pointer to a buffer to receive the URL from which a WPAD autoproxy script can be downloaded.

-param cchAutoProxyUrl [in]

Size of the buffer pointed to by lpszAutoProxyUrl, in bytes.

-param dwDetectFlags [in]

Automation detection type. This parameter can be one or both of the following values.

Value Meaning
PROXY_AUTO_DETECT_TYPE_DHCP
Use a Dynamic Host Configuration Protocol (DHCP) search to identify the proxy.
PROXY_AUTO_DETECT_TYPE_DNS_A
Use a well qualified name search to identify the proxy.

-returns

Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.

-remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).
 

-see-also

InternetDeInitializeAutoProxyDll

InternetGetProxyInfo

InternetInitializeAutoProxyDll