This constructor constructs a CInternetSession object.
| Header file: | Afxinet.h |
| Platforms: | Palm-size PC, H/PC Pro |
| Windows CE versions: | 2.10 and later |
| Complete documentation: | Visual C++ documentation |
CInternetSession( LPCTSTR pstrAgent = NULL, DWORD dwContext = 1,
DWORD dwAccessType = PRE_CONFIG_INTERNET_ACCESS,
LPCTSTR pstrProxyName = NULL, LPCTSTR pstrProxyBypass = NULL,
DWORD dwFlags = 0 );
In MFC for Windows CE, the dwFlags parameter must be 0, and the dwAccessType parameter does not support the INTERNET_FLAG_DONT_CACHE flag.