Partager via


IRTCPortManager::ReleaseMapping (Windows CE 5.0)

Send Feedback

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.

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 Values

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

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCPortManager | IRTCPortManager::GetMapping

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.