IRTCSessionOperationCompleteEvent2::Participant (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
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 Value
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
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |