Partager via


IRTCPortManager::ReleaseMapping (Windows Embedded CE 6.0)

1/6/2010

This method informs the application that NAT mapping is no longer required. For example, when a call has completed, the NAT mapping is no longer required. The application should then release the NAT mapping.

Syntax

HRESULT ReleaseMapping(
  BSTR bstrInternalLocalAddress,
  long lInternalLocalPort,
  BSTR bstrExternalLocalAddress,
  long lExternalLocalPort
);

Parameters

  • bstrInternalLocalAddress
    [in] The client's internal IP address used during the call.
  • lInternalLocalPort
    [in] The client's internal port used during the call.
  • bstrExternalLocalAddress
    [in] The external IP address of the NAT, used during the call.
  • lExternalLocalPort
    [in] The external port of the NAT, used during the call.

Return Value

This method can return an RTC_E_ constant, as well as any of the standard COM and ADSI return values.

Requirements

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

See Also

Reference

IRTCPortManager
IRTCPortManager::GetMapping