Compartilhar via


IRTCSessionOperationCompleteEvent2::GetRemoteSessionDescription (Windows CE 5.0)

Send Feedback

This method retrieves the session description from the remote client.

The application uses the method to retrieve the session description that was set with the IRTCReInviteEvent::Accept method.

This method is used for sessions of type RTCST_APPLICATION only. A call to this method for any other type of session fails.

HRESULT GetRemoteSessionDescription(BSTR*pbstrContentType,BSTR*pbstrSessionDescription);

Parameters

  • pbstrContentType
    [out] Pointer to a BSTR that will be filled with the content type for the session description.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

  • pbstrSessionDescription
    [out] Pointer to a BSTR that is filled with the session description.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant. The following table shows additional return values and additional information about a specific return value.

Value Meaning
E_INVALIDARG The pbstrContentType or pbstrDescription parameter is NULL.
RTC_E_INVALID_SESSION_STATE The session is not in the connected or incoming state.

Requirements

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

See Also

IRTCSessionOperationCompleteEvent2 | IRTCReInviteEvent::Accept | IRTCSession | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.