Share via


CUrl::SetSchemeName

 

Call this method to set the URL scheme name.

Syntax

      inline BOOL SetSchemeName(
   LPCTSTR lpszSchm 
) throw( );

Parameters

  • lpszSchm
    The URL scheme name.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

You can also set the scheme by using an ATL_URL_SCHEME constant (see CUrl::SetScheme).

Requirements

Header: atlutil.h

See Also

CUrl Class
CUrl::GetSchemeName