Help Center

CWinHttpRequest.GetErrorInfomethod

Returns the description of the most recent error.

COMmethoddocumented

Syntax

FUNCTION GetErrorInfo() AS DWSTRING

Return value

A localized description of the error.

Description

Returns the description of the most recent OLE error in the current logical thread and clears the error state for the thread. It should be called as soon as possible after calling a method of this class. The numerical error code can obtained calling the GetLastResult method.

Reference

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