Share via


IRTCBuddy2::PresenceDevices (Windows Embedded CE 6.0)

1/6/2010

Note

This method is unsupported in Windows Embedded CE 6.0.

This method gets a collection of the presence devices for this buddy. C and C++ applications should use the IRTCBuddy2::EnumeratePresenceDevices method.

Syntax

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 Value

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

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

See Also

Reference

IRTCBuddy2
IRTCBuddy2::EnumeratePresenceDevices
IRTCCollection
IRTCPresenceDevice