DetectAutoProxyUrl function
Attempts to determine the location of a WPAD autoproxy script.
Syntax
BOOL DetectAutoProxyUrl( _Inout_ LPSTR lpszAutoProxyUrl, _In_ DWORD dwAutoProxyUrlLength, _In_ DWORD dwDetectFlags );
Parameters
- lpszAutoProxyUrl [in, out]
-
Pointer to a buffer to receive the URL from which a WPAD autoproxy script can be downloaded.
- dwAutoProxyUrlLength [in]
-
Size of the buffer pointed to by lpszAutoProxyUrl, in bytes.
- dwDetectFlags [in]
-
Automation detection type. This parameter can be one or both of the following values.
Return value
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
Remarks
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also