IRTCSessionOperationCompleteEvent2:IRTCSessionOperationCompleteEvent
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 multi-party 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 |
---|---|
Session | Gets the Session object. |
Cookie | Gets the cookie associated with the completed operation. |
StatusCode | Gets the result code of the completed operation. |
StatusText | Gets the status text associated with the status code. |
The following table shows the IRTCSessionOperationCompleteEvent2 method.
Method | Description |
---|---|
Participant | Gets the other participant in a session operation. |
GetRemoteSessionDescription | Retrieves the session description from the remote client. |
Obtaining a Pointer
To retrieve the IRTCSessionOperationCompleteEvent2 interface, the application should call 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.
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
To enable reception of session operation complete events, the application must call the IRTCClient::EventFilter method and set an event filter mask that includes the RTCE_SESSION_OPERATION_COMPLETE event. If the application does not call IRTCClient::EventFilter, it will not receive any events.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
Communications Service | IRTCClient::EventFilter | IRTCEventNotification::Event | IRTCSession | IRTCSession::SendMessage | IRTCSession::SendMessageStatus | IRTCSession::AddStream | IRTCSession::RemoveStream | IRTCSessionOperationCompleteEvent | IUnknown | RTC_EVENT | QueryInterface
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.