Partager via


IRTCSessionCallControl::Hold (Windows CE 5.0)

Send Feedback

This method places an existing session on hold. The method is intended for voice and video sessions only. The media stream associated with the call will be freed for use by another call.

HRESULT Hold(LONG_PTRlCookie);

Parameters

  • lCookie
    [in] Pointer to an application-specified cookie that can be used for pairing notifications with the information sent.

    The application should guarantee a unique value for this cookie.

Return Values

This method can return an RTC_E_ constant.

The following table shows an additional return value and additional information about specific return values.

Value Meaning
E_OUTOFMEMORY Insufficient memory to perform this operation.
RTC_E_INVALID_SESSION_STATE The session is not in the connected state.
RTC_E_MEDIA_DISABLED The media has been disabled.

Requirements

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

See Also

IRTCSessionCallControl | IRTCSessionCallControl::UnHold

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.