AfxParseURL

This global function parses a URL string and returns the type of service and its components. The CInternetSession::OpenURL method calls this function.

At a Glance

Header file: Afxinet.h
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL AFXAPI AfxParseURL(LPCTSTR pstrURL,
DWORD&
dwServiceType, CString& strServer,
CString&
strObject, INTERNET_PORT& nPort);

Remarks

MFC for Windows CE only supports the following values for the dwServiceType parameter.

See Also

CInternetSession::OpenURL