Partager via


CUrl::SetHostName

Call this method to set the host name.

inline BOOL SetHostName(
   LPCTSTR lpszHost 
) throw( );

Parameters

  • lpszHost
    The host name.

Return Value

Returns TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

Concepts

CUrl Class

CUrl Members

CUrl::GetHostName