CHttpConnection::OpenRequest

This methods opens an HTTP connection.

At a Glance

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

Syntax

CHttpFile* OpenRequest(LPCTSTR pstrVerb, LPCTSTR pstrObjectName,
LPCTSTR pstrReferer = NULL, DWORD dwContext = 1,
LPCTSTR* ppstrAcceptTypes = NULL,
LPCTSTR pstrVersion = NULL,
DWORD dwFlags = WCE_IF(0,INTERNET_FLAG_EXISTING_CONNECT));

CHttpFile* OpenRequest(int nVerb, LPCTSTR pstrObjectName,
LPCTSTR pstrReferer = NULL, DWORD dwContext = 1,
LPCTSTR* ppstrAcceptTypes = NULL,
LPCTSTR pstrVersion = NULL, DWORD dwFlags = WCE_IF(0,INTERNET_FLAG_EXISTING_CONNECT));

Remarks

MFC for Windows CE supports only the following values for the dwFlags parameter: