Using Win32 functions in Visual FoxPro Image Gallery
HTTP Functions (WinHTTP)
WinHttpAddRequestHeaders
WinHttpCloseHandle
WinHttpConnect
WinHttpCrackUrl
WinHttpOpen
WinHttpOpenRequest
WinHttpQueryDataAvailable
WinHttpQueryHeaders
WinHttpReadData
WinHttpReceiveResponse
WinHttpSendRequest
WinHttpSetCredentials
Code examples:
Custom HttpRequest class (WinHTTP)
WinHttpReceiveResponse
..msdn    Add comment     W32 Constants      Translate this page
The WinHttpReceiveResponse function waits to receive the response to an HTTP request initiated by WinHttpSendRequest.
Code examples:
Custom HttpRequest class (WinHTTP)
Declaration:
void WinHttpReceiveResponse(
  HINTERNET hRequest,
  LPVOID lpReserved
);
FoxPro declaration:
DECLARE INTEGER WinHttpReceiveResponse In winhttp;
    INTEGER hRequest,;
    INTEGER lpReserved

Parameters:
hRequest
[in] HINTERNET handle returned by WinHttpOpenRequest and sent by WinHttpSendRequest. Wait until WinHttpSendRequest has completed for this handle before calling WinHttpReceiveResponse.

lpReserved
[in] Must be set to NULL.
Return value:
Returns TRUE if successful, or FALSE otherwise.
My comment:
MSDN: When WinHttpReceiveResponse completes successfully, the status code and response headers have been received and are available for the application to inspect using WinHttpQueryHeaders.

An application must call WinHttpReceiveResponse before it can use WinHttpQueryDataAvailable and WinHttpReadData to access the response entity body (if any).
Word Index links for the WinHttpReceiveResponse :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-04-09 09:57:05
Modified: 2003-04-09 09:58:36
Visited in last 7 days: 22
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.64.16)
15 sec.Function: 'recv'
27 sec.Function: 'UnregisterHotKey'
42 sec.Function: 'waveInGetPosition'
Google
Advertise here!