CInternetSession::OpenURL

This method parses and opens a URL.

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

CStdioFile* OpenURL( LPCTSTR pstrURL, DWORD dwContext = 1,
DWORD dwFlags = INTERNET_FLAG_TRANSFER_ASCII,
LPCTSTR pstrHeaders = NULL, DWORD dwHeadersLength = 0 );
Throw ( CInternetException );

Remarks

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

The dwFlags parameter must include the INTERNET_FLAG_TRANSFER_ASCII flag or the INTERNET_FLAG_TRANSFER_BINARY flag, but not both.