Partager via


IRTCSessionOperationCompleteEvent2 (Windows Embedded CE 6.0)

1/6/2010

This interface adds a method to obtain the participant in a session operation. It extends the functionality of IRTCSessionOperationCompleteEvent.

It is intended for use within multiparty instant messaging (MIM) sessions, and to confirm whether or not messages and streams have reached their intended endpoints.

Methods

The following tables show the methods for this interface in vtable order. This is the order in which the compiler calls the methods. This interface inherits the methods for the IUnknown and IRTCSessionOperationCompleteEvent interfaces.

The following table shows the IRTCSessionOperationCompleteEvent methods.

Method Description

IRTCSessionOperationCompleteEvent::Session

Gets the Session object.

IRTCSessionOperationCompleteEvent::Cookie

Gets the cookie associated with the completed operation.

IRTCSessionOperationCompleteEvent::StatusCode

Gets the result code of the completed operation.

IRTCSessionOperationCompleteEvent::StatusText

Gets the status text associated with the status code.

The following table shows the IRTCSessionOperationCompleteEvent2 method.

Method Description

IRTCSessionOperationCompleteEvent2::Participant

Gets the other participant in a session operation.

IRTCSessionOperationCompleteEvent2::GetRemoteSessionDescription

Retrieves the session description from the remote client.

Obtaining a Pointer

To retrieve the IRTCSessionOperationCompleteEvent2 interface, the application should call IUnknown::QueryInterface on the IRTCSessionOperationCompleteEvent interface, passing the appropriate IID (F6FC2A9B-D5BC-4241-B436-1B8460C13832).

A pointer to this interface is retrieved upon completion of operations started by the IRTCSession::SendMessage, IRTCSession::SendMessageStatus, IRTCSession::AddStream, or IRTCSession::RemoveStream, IRTCSessionCallControl::Hold, or IRTCSessionCallControl::UnHold methods.

When the application's implementation of the IRTCEventNotification::Event method indicates an RTC_EVENT enumeration value of RTCE_SESSION_OPERATION_COMPLETE, the method's pEvent parameter is an IDispatch pointer for the IRTCEventNotification::Event interface.

Remarks

Each participant triggers the event on the sender/initiator upon completion of the session operation. The IRTCSessionOperationCompleteEvent2::Participant method can be called on each event to determine who has successfully received the message or stream.

For example, if a message is sent to all participants from a client, each participant triggers a client event with this interface available on it. The Participant method can be called on each event as it arrives, and the resulting set of participants includes those who have successfully received the operation.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

RTC Client API Interfaces