IRTCBuddy2::PresenceDevices (Windows CE 5.0)
This method gets a collection of the presence devices for this buddy. 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 method adds a reference to the collection object, which the caller is responsible for releasing.
Return Values
This method can return an RTC_E_ constant. The following table shows additional possible return values.
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
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCBuddy2 | IRTCBuddy2::EnumeratePresenceDevices | IRTCCollection | IRTCPresenceDevice
Send Feedback on this topic to the authors