CUrl::CrackUrl

Call this method to decode and parse the URL.

BOOL CrackUrl( 
   LPCTSTR lpszUrl, 
   DWORD dwFlags = 0  
) throw( );

Parameters

  • lpszUrl
    The URL.

  • dwFlags
    Specify ATL_URL_DECODE or ATL_URL_ESCAPE to convert all escape characters in lpszUrl to their real values after parsing. (Before Visual C++ 2005, ATL_URL_DECODE converted all escape characters before parsing.)

Return Value

Returns TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

Reference

CUrl Class