Поделиться через


AtlGetDefaultUrlPort

Call this function to get the default port number associated with a particular Internet protocol or scheme.

inline ATL_URL_PORT AtlGetDefaultUrlPort(
   ATL_URL_SCHEME m_nScheme 
) throw( );

Параметры

  • m_nScheme
    The ATL_URL_SCHEME value identifying the scheme for which you want to obtain the port number.

Возвращаемое значение

The ATL_URL_PORT associated with the specified scheme or ATL_URL_INVALID_PORT_NUMBER if the scheme is not recognized.

Требования

Header: atlutil.h

См. также

Основные понятия

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference