 |
WinHttpQueryHeaders ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WinHttpQueryHeaders function retrieves header information associated with an HTTP request. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-11-26 19:02:23 | | Modified: | 2003-11-26 19:05:15 | Visited in last 7 days: 14 |