Udostępnij za pośrednictwem


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( );

Parameters

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

Return Value

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

Requirements

Header: atlutil.h

See Also

Other Resources

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference