IVoIPMediaMgr::UnholdSession

This method restores a session that has been placed on hold by a previous call to IVoIPMediaMgr::HoldSession. If the RTC API is handling media, UnholdSession calls IRTCSessionCallControl::UnHold. If RTC is not handling the media, the method calls IRTCSession2::ReInviteWithSessionDescription for a new media request.

HRESULT UnholdSession( 
  IRTCSession2* piSession
);

Parameters

  • piSession
    [in] Pointer to the IRTCSession2 interface to unhold. Because this method is called from the VoIP manager, a session with state RTCSS_HOLDING is assumed.

Return Values

If the HRESULT value passed to SUCCEEDED macro returns TRUE, the method succeeded. Otherwise, the method failed.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Voipmediamanager.idl.
Link Library: Voipguid.lib.

See Also

VoIP Application Interface Layer Architecture | VoIP Application Interface Layer Reference | IRTCSession2 | IRTCSession2::ReInviteWithSessionDescription | IRTCSessionCallControl::UnHold | IVoIPMgr

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.