Help Center

CWinHttpRequest.SetResultmethod

COMmethoddocumented

Syntax

FUNCTION SetResult (BYVAL Result AS HRESULT) AS HRESULT
Also documented as GetLastResult — one description covers them all.

Return value

The result code returned by the last executed method. The WinHttpRequest object uses the IErrorInfo interface to provide error data. A description of the error can be obtained calling the GetOleErrorInfo method.

The result code returned by the last executed method.

Description

Returns the last result code.

Reference

  • Defined in AfxNova/CWinHttpRequest.inc:141
  • Documented in COM/CWinHttpRequest Class.md
  • Topic: CWinHttpRequest Class