Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.34 KB

InternetGetLastResponseInfo.md

File metadata and controls

53 lines (37 loc) · 1.34 KB

Home

Function name : InternetGetLastResponseInfo

Group: Internet Functions (WinInet) - Library: wininet


Retrieves the last Microsoft® Win32® Internet function error description or server response on the thread calling this function.


Code examples:

Using FtpCommand
Wininet last error description

Declaration:

BOOL InternetGetLastResponseInfo(
    LPDWORD lpdwError,
    LPTSTR lpszBuffer,
    LPDWORD lpdwBufferLength
);
  

FoxPro declaration:

DECLARE SHORT InternetGetLastResponseInfo IN wininet;
	INTEGER @ lpdwError,;
	STRING  @ lpszBuffer,;
	INTEGER @ lpdwBufferLength  

Parameters:

lpdwError [out] Pointer to an unsigned long integer variable that receives an error message pertaining to the operation that failed.

lpszBuffer [out] Pointer to a buffer that receives the error text.

lpdwBufferLength [in, out] Pointer to an unsigned long integer variable that contains the size of the lpszBuffer buffer in TCHARs.


Return value:

Returns TRUE if error text was successfully written to the buffer, or FALSE otherwise.