IRTCBuddy2::get_PresenceDevices

The get_PresenceDevices property returns a collection of the presence devices for this buddy. This method is intended for applications written in Visual Basic. C and C++ applications should use the IRTCBuddy2::EnumeratePresenceDevices method.

HRESULT get_PresenceDevices(IRTCCollection**ppDevicesCollection);

Parameters

  • ppDevicesCollection
    [out] Pointer to the IRTCCollection interface on the collection object. An IRTCPresenceDevice pointer for each presence device is contained in the collection. This call adds a reference to the collection object, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_FAIL There are no presence devices for this buddy.
E_OUTOFMEMORY The collection object cannot be created.
E_POINTER The ppDevicesCollection parameter is not a valid pointer.

Requirements

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_IRTCBuddy2 is defined as 102F9588-23E7-40e3-954D-CD7A1D5C0361.

See Also

IRTCBuddy2, IRTCCollection, Retrieve Presence Information