Add comment W32 Constants Translate this page
The WinHttpSendRequest function sends the specified request to the HTTP server.|
DECLARE INTEGER WinHttpSendRequest IN winhttp;
STRING @ pwszHeaders,;
STRING @ lpOptional,;
[in] HINTERNET handle returned by WinHttpOpenRequest.
[in] Pointer to a string that contains the additional headers to append to the request.
[in] Unsigned long integer value that contains the length, in characters, of the additional headers.
[in] Pointer to a buffer that contains any optional data to send immediately after the request headers.
[in] Unsigned long integer value that contains the length, in bytes, of the optional data.
[in] Unsigned long integer value that contains the length, in bytes, of the total data sent.
[in] Pointer to a pointer-sized variable that contains an application-defined value that is passed, along with the request handle, to any callback functions.
|Returns TRUE if successful, or FALSE otherwise.|
|Word Index links for the WinHttpSendRequest :|
|Translate this page:|
Visited in last 7 days: 12
|Created: ||2003-04-08 12:07:30|
|Modified: ||2003-04-08 12:10:07|
||User Contributed Notes:
|Malcolm Greene | 2006-06-26 16:00:39|
Is there a way to 'hook' WinHttpSendRequest so that one can report progress using a progressmeter.
It seems like its very easy to report progress on http based file downloads, but no way to do the same with http based file (or forms with large data block) uploads.
|A.M. | 2006-06-26 16:52:44|
|MSDN says that this function can operate either synchronously or asynchronously. But as I can see it requires registering a callback function -- dwContext parameter -- plus setting WINHTP_FLAG_ASYNC flag.|
Copyright © 2001-2013
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.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.