Share via


IRTCBuddyGroup::get_Buddies

The get_Buddies property gets a collection of the buddies that are members of this group. If there are no buddies in this group, an empty collection is returned. This method retrieves the buddies added in IRTCBuddyGroup::AddBuddy. This method is intended for applications written in Visual Basic. C and C++ applications should use the IRTCBuddyGroup::EnumerateBuddies method.

HRESULT get_Buddies(IRTCCollection**ppCollection);

Parameters

  • ppCollection
    [out] Returns a pointer to the IRTCCollection interface on a collection object containing an IRTCBuddy pointer for each buddy in this group. 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 The ppCollection parameter is not a valid pointer.
E_FAIL The collection object could not be created.

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_IRTCBuddyGroup is defined as 60361E68-9164-4389-A4C6-D0B3925BDA5E.

See Also

IRTCBuddyGroup, IRTCBuddy, IRTCBuddy2, IRTCBuddyGroup::EnumerateBuddies