WinHttpFreeProxyResult function (winhttp.h)

Frees the data retrieved from a previous call to WinHttpGetProxyResult.

Syntax

WINHTTPAPI VOID WinHttpFreeProxyResult(
  [in, out] WINHTTP_PROXY_RESULT *pProxyResult
);

Parameters

[in, out] pProxyResult

A pointer to a WINHTTP_PROXY_RESULT structure retrieved from a previous call to WinHttpGetProxyResult.

Return value

This function does not return a value.

Remarks

Upon completion, all internal members of pProxyResult will be zeroed and the memory allocated to those members will be freed. If pProxyResult is an allocated pointer, the caller must free the pointer.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header winhttp.h
Library Winhttp.lib
DLL Winhttp.dll