CInternetSession::CInternetSession

This constructor constructs a CInternetSession object.

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

CInternetSession( LPCTSTR pstrAgent = NULL, DWORD dwContext = 1,
DWORD
dwAccessType = PRE_CONFIG_INTERNET_ACCESS,
LPCTSTR
pstrProxyName = NULL, LPCTSTR pstrProxyBypass = NULL,
DWORD
dwFlags = 0 );

Remarks

In MFC for Windows CE, the dwFlags parameter must be 0, and the dwAccessType parameter does not support the INTERNET_FLAG_DONT_CACHE flag.