IRTCPortManager::ReleaseMapping

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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