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)
WinHttpAddRequestHeaders
..msdn    Add comment     W32 Constants      Translate this page
The WinHttpAddRequestHeaders function adds one or more HTTP request headers to the HTTP request handle.
Code examples:
Custom HttpRequest class (WinHTTP)
Declaration:
BOOL WinHttpAddRequestHeaders(
  HINTERNET hRequest,
  LPCWSTR pwszHeaders,
  DWORD dwHeadersLength,
  DWORD dwModifiers
);
FoxPro declaration:
DECLARE INTEGER WinHttpAddRequestHeaders IN winhttp;
    INTEGER hRequest,;
    STRING  pwszHeaders,;
    INTEGER dwHeadersLength,;
    INTEGER dwModifiers

Parameters:
hRequest
[in] HINTERNET handle returned by a call to the WinHttpOpenRequest function.

pwszHeaders
[in] Pointer to a string variable that contains the headers to append to the request.

dwHeadersLength
[in] Unsigned long integer value that contains the length, in bytes, of pwszHeaders.

dwModifiers
[in] Unsigned long integer value that contains the flags used to modify the semantics of this function.
Return value:
Returns TRUE if successful, or FALSE otherwise. For extended error information, call GetLastError.
Word Index links for the WinHttpAddRequestHeaders :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-11-26 19:06:01
Modified: 2003-11-26 19:07:25
Visited in last 7 days: 13
User Contributed Notes:
Jose Luis Vega Ibarra | 2005-03-26 11:26:00
Logre desarrollar una aplicacion en Visual Fox que accesa bases de datos en la Web en tiempo real. Utilice una clase de comunicaciones Ftp. Lo bueno de esto es que puedo accesar cualquier lugar donde se encuentre la bases de datos y los tiempos de respuesta son muy rapidos.

Si les interesa, soliciten mas informacion para enviarles la forma de como lo hice
Saludos desde Cuernavaca, Mor. Mexico
Mi correo es:
siatcet@yahoo.com.mx

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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
15 sec.Function: 'DrawDibDraw'
28 sec.
Function group: 'Icon'
43 sec.Function: 'CeGetVersionEx'
57 sec.Function: 'QueryPerformanceCounter'
1.15 min.Function: 'CreateSemaphore'
1.37 min.Function: 'GetQueueStatus'
1.6 min.Function: 'FindFirstUrlCacheGroup'
1.83 min.Function: 'waveInClose'
2.07 min.Function: 'RegCloseKey'
2.32 min.Function: 'HttpQueryInfo'
Google
Advertise here!