EN
本內容沒有您的語言版本,但有英文版本。

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

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft