The IRTCPresenceStatusEvent interface contains methods for retrieving presence data.

When the application's implementation of the IRTCEventNotification::Event method indicates an RTC_EVENT of type RTCE_PRESENCE_STATUS, the method's pEvent parameter is an IDispatch pointer for the IRTCPresenceDataEvent interface. The methods of this interface can be used to retrieve information concerning the status code and change in the state of the Session.

Note  You must call the IRTCClient::put_EventFilter method and set an event filter mask that includes the RTCEF_PRESENCE_STATUS event to enable reception of session state events. If you do not call IRTCClient::put_EventFilter, your application will not receive any events.

Methods in Vtable Order

The IRTCPresenceStatusEvent interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCPresenceStatusEvent defines the following methods.

Method Description
get_StatusCode Returns the result code of the operation that has just completed.
get_StatusText Returns the text message corresponding to the result code.
GetLocalPresenceInfo Returns the presence data.


Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCPresenceStatusEvent is defined as 78673F32-4A0F-462c-89AA-EE7706707678.

See Also