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)
WinHttpQueryHeaders
..msdn    Add comment     W32 Constants      Translate this page
The WinHttpQueryHeaders function retrieves header information associated with an HTTP request.
Code examples:
Custom HttpRequest class (WinHTTP)
Declaration:
BOOL WinHttpQueryHeaders(
  HINTERNET hRequest,
  DWORD dwInfoLevel,
  LPCWSTR pwszName,
  LPVOID lpBuffer,
  LPDWORD lpdwBufferLength,
  LPDWORD lpdwIndex
);
FoxPro declaration:
DECLARE INTEGER WinHttpQueryHeaders IN winhttp;
    INTEGER   hRequest,;
    INTEGER   dwInfoLevel,;
    INTEGER   pwszName,;
    STRING  @ lpBuffer,;
    INTEGER @ lpdwBufLen,;
    INTEGER   lpdwIndex

Parameters:
hRequest
[in] HINTERNET request handle returned by WinHttpOpenRequest.

dwInfoLevel
[in] Value of type DWORD that specifies a combination of attribute and modifier flags.

pwszName
[in, optional] Pointer to a string that contains the header name.

lpBuffer
[out] Pointer to the buffer that receives the information.

lpdwBufferLength
[in, out] Pointer to a value of type DWORD that specifies the length of the data buffer, in bytes.

lpdwIndex
[in, out] Pointer to a zero-based header index used to enumerate multiple headers with the same name.
Return value:
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
Word Index links for the WinHttpQueryHeaders :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-11-26 19:02:23
Modified: 2003-11-26 19:05:15
Visited in last 7 days: 15
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.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.80.10.56)
7 sec.Function: 'CryptGenKey'
14 sec.Function: 'EnumPrinterDrivers'
22 sec.Function: 'GetRawInputData'
30 sec.Function: 'MessageBeep'
36 sec.Function: 'EnumDisplaySettings'
44 sec.
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
52 sec.Function: 'ReadEventLog'
1 min.Function: 'AVIFileRelease'
1.1 min.Function: 'ws_connect'
1.22 min.Function: 'GetFocus'
Google
Advertise here!