IRTCSessionOperationCompleteEvent2::Participant (Windows CE 5.0)
This method gets the other participant in a session operation. The application can call the method on each event as it arrives. The resultant participants are those who have successfully received the operation.
HRESULT get_Participant( IRTCParticipant** ppParticipant);
Parameters
ppParticipant
[out] Pointer to an IRTCParticipant interface for the other participant in the session operation.This method adds a reference to the Participant object, which the caller is responsible for releasing.
Return Values
This method can return an RTC_E_ constant.
The following table shows an additional return value and additional information about a specific return value.
Value | Meaning |
---|---|
E_POINTER | The ppParticipant parameter is not a valid pointer. |
RTC_E_NOT_EXIST | There is no participant attached to this event. |
Remarks
Each participant triggers the RTCE_SESSION_OPERATION_COMPLETE event on the sender or initiator upon completion of the session operation. The application can call the Participant method on each event to determine what party 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 IRTCSessionOperationCompleteEvent2 available on it.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCSessionOperationCompleteEvent2 | IRTCParticipant | RTC_E_
Send Feedback on this topic to the authors