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


IRTCPortManager3 (Windows Embedded CE 6.0)

1/6/2010

The IRTCPortManager3 interface derives from the IRTCPortManager2 interface which in turn, derives from the IRTCPortManager interface. This interface can be obtained by calling IUnknown::QueryInterface on the IRTCPortManager or IRTCPortManager2 interface.

Methods

The IRTCPortManager3 interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCPortManager3 defines the following methods, including those inherited from IRTCPortManager2 and IRTCPortManager.

Method Description

IRTCPortManager3::GetMappingEx

Retrieves internal and external (on the NAT) IP addresses and port mappings from the application when given a remote address and port type for the port and type of transport protocol to use. The GetMappingEx method specifies the transport protocol and port to use in addition to the parameters specified by IRTCPortManager::GetMapping.

IRTCPortManager3::UpdateRemoteAddressEx2

Informs the application that the remote address has been updated for a given address, port transport to use. The UpdateRemoteAddressEx2 method specifies the transport protocol to use with Port Manager in addition to the parameters specified by IRTCPortManager2::UpdateRemoteAddressEx and IRTCPortManager::UpdateRemoteAddress.

IRTCPortManager3::ReleaseMappingEx

Informs the application that NAT mapping is no longer required. The ReleaseMappingEx method specifies the transport protocol that was used in addition to the parameters specified by IRTCPortManager::ReleaseMapping.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

RTC Client API Interfaces