Share via


IRTCSession::Participants

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method gets a collection of the participants in this session, excluding the local user. If there are no participants in the session, an empty collection is retrieved. C and C++ applications should use IRTCSession::EnumerateParticipants.

Syntax

HRESULT get_Participants(
  IRTCCollection** ppCollection
);

Parameters

  • ppCollection
    [out] Pointer to the IRTCCollection interface on the collection object.

    An IRTCParticipant pointer for each participant is contained in the collection.

    This method adds a reference to the collection object, which the caller is responsible for releasing.

Return Value

This method can return an RTC_E_ constant.

Remarks

The online status of participants in a multiparty instant messaging (MIM) session will be available to all other participants in the session. This can result in compromised privacy information.

If none of the participants in the session has blocked another participant from viewing its online status, no privacy information is compromised.

However, if any participant in the session has blocked another participant from viewing its online status, the first participant's privacy information will be compromised in a MIM session.

Requirements

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

See Also

Reference

IRTCSession
IRTCCollection
IRTCParticipant
IRTCSession::EnumerateParticipants