Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WinHttpGetProxyResult

WinHttpGetProxyResult function

The WinHttpGetProxyResult function retrieves the results of a call to WinHttpGetProxyForUrlEx.

Syntax


DWORD WINAPI WinHttpGetProxyResult(
  _In_  HINTERNET            hResolver,
  _Out_ WINHTTP_PROXY_RESULT *pProxyResult
);

Parameters

hResolver [in]

The resolver handle used to issue a previously completed call to WinHttpGetProxyForUrlEx.

pProxyResult [out]

A pointer to a WINHTTP_PROXY_RESULT structure that contains the results of a previous call to WinHttpGetProxyForUrlEx. The results must be freed by calling WinHttpFreeProxyResult.

Return value

A status code indicating the result of the operation.

The following codes may be returned.Description
ERROR_WINHTTP_INCORRECT_HANDLE_TYPE

The type of handle supplied is incorrect for this operation.

ERROR_WINHTTP_INCORRECT_HANDLE_STATE

The resolver handle has not successfully completed a call to WinHttpGetProxyForUrlEx.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Winhttp.h

Library

Winhttp.lib

DLL

Winhttp.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft