CHttpFile::QueryInfo

This method returns response or request headers from an HTTP request. Use this method only after a successful call to SendRequest or on a CHttpFile object successfully created by OpenURL.

At a Glance

Header file: Afxinet.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL QueryInfo( DWORD dwInfoLevel, LPVOID lpvBuffer,
LPDWORD lpdwBufferLength, LPDWORD lpdwIndex = NULL ) const;

BOOL QueryInfo( DWORD dwInfoLevel, CString& str,
LPDWORD dwIndex = NULL ) const;

BOOL QueryInfo( DWORD dwInfoLevel, SYSTEMTIME* pSysTime,
LPDWORD dwIndex = NULL ) const;